Fix pilots page now showing up #655 (#660)

This commit is contained in:
Nabeel S 2020-04-06 18:12:55 -04:00 committed by GitHub
parent 40a94cb9ad
commit b1bdd40da7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -92,6 +92,9 @@ class RouteServiceProvider extends ServiceProvider
Route::get('r/{id}', 'PirepController@show')->name('pirep.show.public');
Route::get('pireps/{id}', 'PirepController@show')->name('pireps.show');
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('users', 'UserController@index')->name('users.index');
Route::get('pilots', 'UserController@index')->name('pilots.index');

View File

@ -22,7 +22,7 @@
</div>
</td>
<td>
<a href="{{ route('frontend.profile.show.public', [$user->id]) }}">
<a href="{{ route('frontend.users.show.public', [$user->id]) }}">
{{$user->ident}}&nbsp;{{ $user->name_private }}
</a>
</td>