]> Raphaƫl G. Git Repositories - treebundle/blobdiff - config/routes/rapsystree.yaml
Rename asset into element
[treebundle] / config / routes / rapsystree.yaml
index 03d85ead5eb67f690db7062e9ab6c3fe65720b95..d52b99863f94a1afa4e951b89f15bea36f456270 100644 (file)
@@ -28,19 +28,6 @@ rapsystree_album:
         slug: '[\w-]+'
     methods: GET|POST
 
         slug: '[\w-]+'
     methods: GET|POST
 
-rapsystree_asset:
-    path:
-        en_gb: '/en/asset/{id}{path}'
-        fr_fr: '/actif/{id}{path}'
-    controller: Rapsys\TreeBundle\Controller\TreeController::asset
-    defaults:
-        id: ~
-        path: ~
-    requirements:
-        id: '\d+'
-        path: '/.*'
-    methods: GET|POST
-
 rapsystree_contact:
     path:
         en_gb: '/en/contact'
 rapsystree_contact:
     path:
         en_gb: '/en/contact'
@@ -75,6 +62,19 @@ rapsysuser_edit:
         hash: '[a-zA-Z0-9=_-]+'
     methods: GET|POST
 
         hash: '[a-zA-Z0-9=_-]+'
     methods: GET|POST
 
+rapsystree_element:
+    path:
+        en_gb: '/en/element/{id}{path}'
+        fr_fr: '/element/{id}{path}'
+    controller: Rapsys\TreeBundle\Controller\TreeController::element
+    defaults:
+        id: ~
+        path: ~
+    requirements:
+        id: '\d+'
+        path: '/.*'
+    methods: GET|POST
+
 rapsysuser_index:
     path:
         en_gb: '/en/user'
 rapsysuser_index:
     path:
         en_gb: '/en/user'