_homepage:
    path: /
    defaults: { _controller: FrameworkBundle:Redirect:redirect, route: admin, permanent: true }

easy_admin_bundle:
    resource: "@AppBundle/Controller/AdminController.php"
    type:     annotation
    prefix:   /admin

_homepage:
    path: /
    defaults: { _controller: FrameworkBundle:Redirect:redirect, route: easyadmin, permanent: true }

easy_admin_bundle:
    resource: "@AppBundle/Controller/AdminController.php"
    type:     annotation
    prefix:   /admin

Use "easyadmin" route instead of the deprecated "admin" route
Use "easyadmin" route instead of the deprecated "admin" route
