about summary refs log tree commit diff
path: root/laravel/routes/web.php
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@gmail.com>2019-01-12 10:49:50 -0500
committerZach DeCook <zachdecook@gmail.com>2019-01-12 10:49:50 -0500
commitb4958b4bf1fecbb2bace7dc9664b326841c8067e (patch)
tree97b36139bf2d01cf2e8d5f36656d22f0d2d1bf28 /laravel/routes/web.php
parentfa336a55266650b2f1847194130dc097f4e614dd (diff)
downloadprosongsa-b4958b4bf1fecbb2bace7dc9664b326841c8067e.tar.gz
* Suggestions: show suggestions and track them
Diffstat (limited to 'laravel/routes/web.php')
-rw-r--r--laravel/routes/web.php1
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');