Like APIの追加

This commit is contained in:
shibafu
2019-04-05 23:07:43 +09:00
parent 212fad4d66
commit 34b7cd6c89
5 changed files with 138 additions and 0 deletions

View File

@@ -16,3 +16,8 @@
//});
Route::get('/checkin/card', 'Api\\CardController@show');
Route::middleware('auth')->group(function () {
Route::post('/likes', 'Api\\LikeController@store');
Route::delete('/likes/{id}', 'Api\\LikeController@destroy');
});