diff options
| author | Zach DeCook <zachdecook@gmail.com> | 2019-01-12 10:49:50 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@gmail.com> | 2019-01-12 10:49:50 -0500 |
| commit | b4958b4bf1fecbb2bace7dc9664b326841c8067e (patch) | |
| tree | 97b36139bf2d01cf2e8d5f36656d22f0d2d1bf28 /laravel/routes | |
| parent | fa336a55266650b2f1847194130dc097f4e614dd (diff) | |
| download | prosongsa-b4958b4bf1fecbb2bace7dc9664b326841c8067e.tar.gz | |
* Suggestions: show suggestions and track them
Diffstat (limited to 'laravel/routes')
| -rw-r--r-- | laravel/routes/web.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/laravel/routes/web.php b/laravel/routes/web.php index f978467..5e5561e 100644 --- a/laravel/routes/web.php +++ b/laravel/routes/web.php @@ -17,6 +17,7 @@ Route::get('/', function () { 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::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'); |
