phpvms/modules/Sample/Http/Routes/api.php
Nabeel S bbec276da8
#355 Calculate distance button (#366)
* #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
2019-08-26 12:32:46 -04:00

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