diff --git a/lib/Alchemy/Phrasea/Application/Root.php b/lib/Alchemy/Phrasea/Application/Root.php index d662082dc3..88a89b201f 100644 --- a/lib/Alchemy/Phrasea/Application/Root.php +++ b/lib/Alchemy/Phrasea/Application/Root.php @@ -53,7 +53,7 @@ return call_user_func(function() { } return new Response($buffer, 200, array('Content-Type' => 'text/plain')); - }); + })->bind('robots'); $app->mount('/feeds/', new RSSFeeds()); $app->mount('/account/', new Account()); diff --git a/lib/Alchemy/Phrasea/Controller/Root/Login.php b/lib/Alchemy/Phrasea/Controller/Root/Login.php index 80618a7b88..58193893fc 100644 --- a/lib/Alchemy/Phrasea/Controller/Root/Login.php +++ b/lib/Alchemy/Phrasea/Controller/Root/Login.php @@ -32,7 +32,8 @@ class Login implements ControllerProviderInterface $controllers->get('/', $this->call('login')) ->before(function() use ($app) { return $app['phraseanet.core']['Firewall']->requireNotAuthenticated($app); - }); + }) + ->bind('homepage'); /** * Logout