Move load config filter to service provider

This commit is contained in:
Joseph Cohen
2015-01-14 15:37:45 -06:00
parent de288f2084
commit 99b5a77543
3 changed files with 19 additions and 10 deletions

View File

@@ -41,7 +41,6 @@ class RoutingServiceProvider extends ServiceProvider
$this->app->router->filter('csrf', 'CachetHQ\Cachet\Http\Before\CsrfFilter');
// Cachet's before filters
$this->app->router->before('CachetHQ\Cachet\Http\Before\LoadConfigFilter');
$this->app->router->filter('is_setup', 'CachetHQ\Cachet\Http\Before\IsSetupFilter');
$this->app->router->filter('has_setting', 'CachetHQ\Cachet\Http\Before\HasSettingFilter');
$this->app->router->filter('login_throttling', 'CachetHQ\Cachet\Http\Before\LoginThrottlingFilter');