Closed tomde closed 6 years ago
Hello tomde,
Looking at the demo, it seems that your third solution is the right way.
https://github.com/javiereguiluz/easy-admin-demo/blob/master/config/routes.yaml
Thanks uncle-scrooge,
i think documentation is little bit outdated and should be updated.
i have it like this
easy_admin_bundle:
resource: 'App\Controller\BaseController'
prefix: /admin
type: annotation
Hello @Czacha
Thank you for your sharing.
@tomde please can you try Czacha solution ?
@tomde @uncle-scrooge I'm trying to fix this in #2040. Could you please review it? Thanks!
Hello,
I tried to override AdminController in new Symfony4 setup. I followed documentation and setup the path to new resource to the routers/easy_admin.yml like this:
it doesn't work, so i tried to change the route according to the new symfony routing like this:
but this does not work either. So i ended using full relative path to the resource:
Could you please explain what is the right way to call a resource and add it also to documentation?
Thanks.
used version of easyadminbundle: v1.17.7