about summary refs log tree commit diff
path: root/laravel/routes/web.php
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2024-06-06 15:05:52 +0000
committerZach DeCook <zachdecook@librem.one>2024-06-06 15:13:26 +0000
commit1eb554e59bc2ae7a813af03d884bda54efbcbef5 (patch)
treeac79e811b0a2b62333f7c854c1562d063a69a829 /laravel/routes/web.php
parentcde3d35dff39e9fd4ef75a748b1c79ffd785e226 (diff)
downloadprosongsa-1eb554e59bc2ae7a813af03d884bda54efbcbef5.tar.gz
Playlist: add m3u files
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 c783313..3618216 100644
--- a/laravel/routes/web.php
+++ b/laravel/routes/web.php
@@ -15,6 +15,7 @@ Route::get('/', function () {
     return view('welcome');
 })->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');