Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 15d81f4

Browse files
committed
Fixed RouteNotFoundException in admin dashboard
Comparing the routing file with cmf-sandbox routing file I realised that it was missing: _sonata_admin:     resource: .     type: sonata_admin     prefix: /admin Adding the above config fixes this issue.
1 parent c987a36 commit 15d81f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tutorials/creating-cms-using-cmf-and-sonata.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ Add route in to your routing configuration
142142
resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'
143143
prefix: /admin
144144
145+
_sonata_admin:
146+
resource: .
147+
type: sonata_admin
148+
prefix: /admin
149+
145150
fos_js_routing:
146151
resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
147152

0 commit comments

Comments
 (0)