name('song.list'); Route::post('/new/song', 'SongController@post')->name('song.postnew')/*->middleware('can:create,App\Song')*/; Route::get('/playlist/{playlist}.m3u', 'PlaylistController@m3u')->name('playlist.m3u'); Route::get('/playlist/{playlist}', 'PlaylistController@show')->name('playlist.show'); Route::post('/playlist/{playlist}/{song}', 'PlaylistController@post')->name('playlist.post'); Route::get('/s/{song}', 'SongController@show')->name('song.show'); Route::get('/s/{song}/suggested/{from}', 'SongController@suggested')->name('song.suggested'); 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'); Route::get('/random/', 'SongController@random'); Auth::routes(); Route::get('/home', 'HomeController@index')->name('home');