Fixes
This commit is contained in:
+4
-2
@@ -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
@@ -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']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user