This commit is contained in:
Graham Campbell
2015-01-01 16:18:24 +00:00
parent a1e91be91c
commit 0b3042f34d
13 changed files with 27 additions and 23 deletions
+4 -2
View File
@@ -7,8 +7,10 @@ Route::group(['before' => 'has_setting:app_name', 'namespace' => 'CachetHQ\Cache
});
// Setup route.
Route::group(['before' => 'is_setup'], function () {
Route::group(['before' => 'is_setup', 'namespace' => 'CachetHQ\Cachet\Controllers'], function () {
Route::controller('/setup', 'SetupController');
});
Route::get('/rss', 'RssController@feedAction');
Route::group(['namespace' => 'CachetHQ\Cachet\Controllers'], function () {
Route::get('/rss', 'RssController@feedAction');
});
+3 -1
View File
@@ -5,4 +5,6 @@ Route::group(['before' => 'has_setting:app_name', 'namespace' => 'CachetHQ\Cache
Route::post('/auth/login', ['before' => 'guest|csrf|login_throttling', 'as' => 'logout', 'uses' => 'AuthController@postLogin']);
});
Route::get('/auth/logout', ['before' => 'auth', 'as' => 'logout', 'uses' => 'AuthController@logoutAction']);
Route::group(['before' => 'auth', 'namespace' => 'CachetHQ\Cachet\Controllers'], function () {
Route::get('/auth/logout', ['as' => 'logout', 'uses' => 'AuthController@logoutAction']);
});