acme_admin_dashboard: pattern: /{_locale}/admin defaults: { _controller: AcmeBundle:Admin:dashboard }
I want this route to be accessible a
I hacked the following line into front controller (app.php / app_dev.php)
$_SERVER['REQUEST_URI'] = preg_replace('|/$|', '', $_SERVER['REQUEST_URI'], 1);
before $request = Request::createFromGlobals()
$request = Request::createFromGlobals()