mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Merge branch 'clean-resource-routes' of https://github.com/pedroborges/koel into pedroborges-clean-resource-routes
This commit is contained in:
commit
0779ff6d2a
1 changed files with 2 additions and 2 deletions
|
@ -30,9 +30,9 @@ Route::group(['prefix' => 'api', 'middleware' => 'auth', 'namespace' => 'API'],
|
|||
post('interaction/batch/like', 'InteractionController@batchLike');
|
||||
post('interaction/batch/unlike', 'InteractionController@batchUnlike');
|
||||
|
||||
resource('playlist', 'PlaylistController');
|
||||
resource('playlist', 'PlaylistController', ['only' => ['store', 'update', 'destroy']]);
|
||||
put('playlist/{id}/sync', 'PlaylistController@sync')->where(['id' => '\d+']);
|
||||
|
||||
resource('user', 'UserController');
|
||||
resource('user', 'UserController', ['only' => ['store', 'update', 'destroy']]);
|
||||
put('me', 'UserController@updateProfile');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue