Refactored controllers
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
// Prevent access until the app is setup.
|
||||
Route::group(['before' => 'has_setting:app_name'], function () {
|
||||
Route::group(['before' => 'has_setting:app_name', 'namespace' => 'CachetHQ\Cachet\Controllers'], function () {
|
||||
Route::get('/', ['as' => 'status-page', 'uses' => 'HomeController@showIndex']);
|
||||
Route::get('/incident/{incident}', 'HomeController@showIncident');
|
||||
});
|
||||
@@ -11,4 +11,4 @@ Route::group(['before' => 'is_setup'], function () {
|
||||
Route::controller('/setup', 'SetupController');
|
||||
});
|
||||
|
||||
Route::get('/rss', 'RSSController@feedAction');
|
||||
Route::get('/rss', 'RssController@feedAction');
|
||||
|
||||
Reference in New Issue
Block a user