This commit is contained in:
Graham Campbell
2014-12-20 21:20:17 +00:00
parent 26e4361d8a
commit 9d8d89248f
103 changed files with 2478 additions and 2353 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
<?php
// Prevent access until the app is setup.
Route::group(['before' => 'has_setting:app_name'], function() {
Route::group(['before' => 'has_setting:app_name'], function () {
Route::get('/', ['as' => 'status-page', 'uses' => 'HomeController@showIndex']);
Route::get('/incident/{incident}', 'HomeController@showIncident');
});
// Setup route.
Route::group(['before' => 'is_setup'], function() {
Route::group(['before' => 'is_setup'], function () {
Route::controller('/setup', 'SetupController');
});