Skip to content
Snippets Groups Projects
Commit 6d581dba authored by althaafka's avatar althaafka
Browse files

feat(likes): add likes and dislike route

parent d7ef535b
1 merge request!1merge develop
...@@ -50,4 +50,7 @@ $route = [ ...@@ -50,4 +50,7 @@ $route = [
'/check/watchlist/:film_id' => ["GET" => "watchlist/WatchListPageController@isFilmOnWatchList"], '/check/watchlist/:film_id' => ["GET" => "watchlist/WatchListPageController@isFilmOnWatchList"],
'/add/watchlist' => ["POST" => "watchlist/WatchListPageController@addToWatchList"], '/add/watchlist' => ["POST" => "watchlist/WatchListPageController@addToWatchList"],
'/delete/watchlist' => ["POST" => "watchlist/WatchListPageController@removeFromWatchList"], '/delete/watchlist' => ["POST" => "watchlist/WatchListPageController@removeFromWatchList"],
'/add/like' => ["POST" => "film/FilmController@addLike"],
'/delete/like' => ["POST" => "film/FilmController@deleteLike"],
]; ];
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment