Add API for retrieving favourites

This commit is contained in:
Eugen Rochko 2016-12-29 20:33:26 +01:00
parent 49834a6e7f
commit a302e56f9a
5 changed files with 46 additions and 1 deletions

View file

@ -110,6 +110,7 @@ Rails.application.routes.draw do
end
resources :notifications, only: [:index]
resources :favourites, only: [:index]
resources :accounts, only: [:show] do
collection do