bbec276da8
* #355 Calculate distance button in add/edit Flight page * Styling * Move add/edit flight logic out of controller and into service layer * Styling * Formatting * Run styleci against modules dir * Styleci config * Style fixes in /modules
10 lines
250 B
PHP
10 lines
250 B
PHP
<?php
|
|
|
|
Route::group(['middleware' => [
|
|
'role:user', // leave blank to make this public
|
|
]], function () {
|
|
// all your routes are prefixed with the above prefix
|
|
// e.g. yoursite.com/sample
|
|
Route::get('/', 'SampleController@index');
|
|
});
|