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
18 lines
320 B
PHP
18 lines
320 B
PHP
<?php
|
|
|
|
/**
|
|
* This is publicly accessible
|
|
*/
|
|
Route::group(['middleware' => []], function () {
|
|
Route::get('/', 'SampleController@index');
|
|
});
|
|
|
|
/*
|
|
* This is required to have a valid API key
|
|
*/
|
|
Route::group(['middleware' => [
|
|
'api.auth',
|
|
]], function () {
|
|
Route::get('/hello', 'SampleController@hello');
|
|
});
|