Cachet/app/routes/app.php
2015-01-05 15:31:42 -06:00

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');
});