Route::get('/', function () { return view('welcome'); }); Auth::routes(); Route::get('/teams', 'TeamController@index')->name('teams.index'); Route::post('/teams', 'TeamController@store')->name('teams.store'); Route::get('/users', 'UserController@index')->name('users.index'); Route::get('/users/{user}', 'UserController@show')->name('users.show'); Route::get('/users/{user}/edit', 'ProfileController@edit')->name('users.edit'); Route::patch('/users/{user}', 'ProfileController@update')->name('users.update');