mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-23 03:02:38 +01:00
15 lines
455 B
PHP
15 lines
455 B
PHP
<?php
|
|
|
|
// Prevent access until the app is setup.
|
|
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' => 'no_setup:app_name'], function() {
|
|
Route::controller('/setup', 'SetupController');
|
|
});
|
|
|
|
Route::get('/rss', 'RSSController@feedAction');
|