Check public pages for authorization #761
This commit is contained in:
@@ -60,8 +60,6 @@ class RouteServiceProvider extends ServiceProvider
|
||||
Route::get('flights/search', 'FlightController@search')->name('flights.search');
|
||||
Route::resource('flights', 'FlightController');
|
||||
|
||||
Route::get('p/{slug}', 'PageController@show')->name('pages.show');
|
||||
|
||||
Route::get('pireps/fares', 'PirepController@fares');
|
||||
Route::post('pireps/{id}/submit', 'PirepController@submit')->name('pireps.submit');
|
||||
|
||||
@@ -95,7 +93,10 @@ class RouteServiceProvider extends ServiceProvider
|
||||
Route::get('users/{id}', 'ProfileController@show')->name('users.show.public');
|
||||
Route::get('pilots/{id}', 'ProfileController@show')->name('pilots.show.public');
|
||||
|
||||
Route::get('p/{id}', 'ProfileController@show')->name('profile.show.public');
|
||||
Route::get('page/{slug}', 'PageController@show')->name('pages.show');
|
||||
|
||||
Route::get('profile/{id}', 'ProfileController@show')->name('profile.show.public');
|
||||
|
||||
Route::get('users', 'UserController@index')->name('users.index');
|
||||
Route::get('pilots', 'UserController@index')->name('pilots.index');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user