Answer the question
In order to leave comments, you need to log in
How to optimize symfony routing?
admin_goods_index:
path: /goods/
defaults: { _controller: AdminBundle:Goods:index }
admin_goods_create:
path: /goods/create/
defaults: { _controller: AdminBundle:Goods:create }
admin_goods_edit:
path: /goods/edit/{slug}/
defaults: { _controller: AdminBundle:Goods:edit }
admin_goods_del:
path: /goods/del/{slug}/
defaults: { _controller: AdminBundle:Goods:del }
admin_categories_index:
path: /categories/
defaults: { _controller: AdminBundle:Categories:index }
admin_categories_create:
path: /categories/create/
defaults: { _controller: AdminBundle:Categories:create }
admin_categories_edit:
path: /categories/edit/{slug}/
defaults: { _controller: AdminBundle:Categories:edit }
admin_categories_del:
path: /categories/del/{slug}/
defaults: { _controller: AdminBundle:Categories:del }
admin_pages_index:
path: /pages/
defaults: { _controller: AdminBundle:Pages:index }
admin_pages_create:
path: /pages/create/
defaults: { _controller: AdminBundle:Pages:create }
admin_pages_edit:
path: /pages/edit/{slug}/
defaults: { _controller: AdminBundle:Pages:edit }
admin_pages_del:
path: /pages/del/{slug}/
defaults: { _controller: AdminBundle:Pages:del }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question