|
@@ -19,4 +19,7 @@ Auth::routes();
|
|
|
|
|
|
Route::get('/home', 'HomeController@index')->name('home');
|
|
Route::get('/home', 'HomeController@index')->name('home');
|
|
|
|
|
|
-Route::resource('contacts', 'ContactController');
|
|
|
|
|
|
+Route::get('/user', 'UserController@index')->name('all.positions');
|
|
|
|
+Route::get('/user/{id}', 'UserController@show')->where('id', '[0-9]+')->name('user.position');
|
|
|
|
+Route::get('/user/{id}/last', 'UserController@showLast')->where('id', '[0-9]+')->name('last.position');
|
|
|
|
+
|