name('home'); 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');