Files
cachet-docker/app/routes/app.php
2014-11-24 15:30:03 +00:00

16 lines
475 B
PHP

<?php
Route::get('/', 'HomeController@showIndex');
Route::get('/incident/{incident}', 'HomeController@showIncident');
Route::group(['before' => 'no_setup:app_name'], function() {
Route::get('/setup', 'SetupController@showSetup');
Route::group(['before' => 'csrf'], function() {
Route::post('/setup', 'SetupController@setupCachet');
});
});
Route::group(['before' => 'auth'], function() {
Route::get('/dashboard', 'DashboardController@showDashboard');
});