Pilots cannot use the dashboard or flights without admin rights (#481)
* Use auth middleware instead of specific groups for logged in state * Auth check for admin access * Check user admin access for updates * Formatting
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
/**
|
||||
* Public routes
|
||||
*/
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::group([], function () {
|
||||
Route::get('acars', 'AcarsController@live_flights');
|
||||
Route::get('acars/geojson', 'AcarsController@pireps_geojson');
|
||||
|
||||
Reference in New Issue
Block a user