name('song.list'); Route::post('/new/song', 'SongController@post')->name('song.postnew')/*->middleware('can:create,App\Song')*/; Route::get('/playlist/{playlist}', 'PlaylistController@show')->name('playlist.show'); Route::get('/s/{song}', 'SongController@show')->name('song.show'); Route::post('/s/{song}', 'SongController@update')->name('song.update')->middleware('can:update,song'); Route::get('/s/{song}/edit', 'SongController@edit')->name('song.edit')->middleware('can:update,song'); Route::get('/song/{song}', 'SongController@oldShow')->name('song.oldShow'); Auth::routes(); Route::get('/home', 'HomeController@index')->name('home');