mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Add binds
This commit is contained in:
@@ -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());
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user