0
索納塔聯繫包2管理頁面,我想1個實體創建2個管理頁面,但模式是相同的:1個實體
PHP應用程序/控制檯路線:調試
dis_codes_companies_list ANY /admin/mobispot/discodes/discode/list
dis_codes_companies_create ANY /admin/mobispot/discodes/discode/create
dis_codes_companies_batch ANY /admin/mobispot/discodes/discode/batch
dis_codes_companies_edit ANY /admin/mobispot/discodes/discode/{id}/edit
dis_codes_companies_delete ANY /admin/mobispot/discodes/discode/{id}/delete
dis_codes_companies_show ANY /admin/mobispot/discodes/discode/{id}/show
dis_codes_companies_export ANY /admin/mobispot/discodes/discode/export
dis_codes_companies_set_premium ANY /admin/mobispot/discodes/discode/{id}/setpremium
dis_codes_personal_list ANY /admin/mobispot/discodes/discode/list
dis_codes_personal_create ANY /admin/mobispot/discodes/discode/create
dis_codes_personal_batch ANY /admin/mobispot/discodes/discode/batch
dis_codes_personal_edit ANY /admin/mobispot/discodes/discode/{id}/edit
dis_codes_personal_delete ANY /admin/mobispot/discodes/discode/{id}/delete
dis_codes_personal_show ANY /admin/mobispot/discodes/discode/{id}/show
dis_codes_personal_export ANY /admin/mobispot/discodes/discode/export
dis_codes_personal_set_premium ANY /admin/mobispot/discodes/discode/{id}/setpremium
在哪裏我可以改變路線模式?如果我這樣做,在RouteCollection類的,我有一個錯誤:
No route found for "GET /admin/mobispot/discodes/personal/list"
你可能在路線衝突,幫我的http:// stackoverflow.com/questions/12828072/sonataadminbundle-multiple-admin-section-for-same-entity – user1127794
是的 - 它是一個笨蛋。查看修復的鏈接問題 –