mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-29 19:18:11 +01:00
16 lines
540 B
PHP
16 lines
540 B
PHP
<?php
|
|
|
|
// Prevent access until the app is setup.
|
|
Route::group(['before' => 'has_setting:app_name', 'namespace' => 'CachetHQ\Cachet\Http\Controllers'], function () {
|
|
Route::get('/', [
|
|
'as' => 'status-page',
|
|
'uses' => 'HomeController@showIndex',
|
|
]);
|
|
Route::get('/incident/{incident}', 'HomeController@showIncident');
|
|
});
|
|
|
|
Route::group(['namespace' => 'CachetHQ\Cachet\Http\Controllers'], function () {
|
|
Route::get('/atom', 'AtomController@feedAction');
|
|
Route::get('/rss', 'RssController@feedAction');
|
|
});
|