['api.auth']], function () { Route::post('pireps/prefile', 'PirepController@prefile'); Route::post('pireps/{pirep_id}/update', 'PirepController@update'); Route::post('pireps/{pirep_id}/file', 'PirepController@file'); Route::post('pireps/{pirep_id}/comments', 'PirepController@comments_post'); Route::delete('pireps/{pirep_id}/cancel', 'PirepController@cancel'); Route::post('pireps/{pirep_id}/route', 'PirepController@route_post'); Route::delete('pireps/{pirep_id}/route', 'PirepController@route_delete'); Route::post('pireps/{pirep_id}/acars/position', 'PirepController@acars_store'); Route::post('pireps/{pirep_id}/acars/positions', 'PirepController@acars_store'); Route::post('pireps/{pirep_id}/acars/event', 'PirepController@acars_log'); Route::post('pireps/{pirep_id}/acars/log', 'PirepController@acars_log'); Route::post('pireps/{pirep_id}/acars/logs', 'PirepController@acars_log'); Route::get('settings', 'SettingsController@index'); # This is the info of the user whose token is in use Route::get('user', 'UserController@index'); Route::get('user/fleet', 'UserController@fleet'); Route::get('users/{id}', 'UserController@get'); Route::get('users/{id}/bids', 'UserController@bids'); Route::get('users/{id}/fleet', 'UserController@fleet'); });