Extend notifications to be marked as read and unread

This commit is contained in:
rgarcia
2018-02-27 14:47:52 +01:00
parent c4ad9b940c
commit 09c44ee583
22 changed files with 445 additions and 141 deletions

View File

@@ -1,5 +1,8 @@
resources :notifications, only: [:index, :show] do
put :mark_as_read, on: :member
put :mark_all_as_read, on: :collection
put :mark_as_unread, on: :member
get :read, on: :collection
end
resources :proposal_notifications, only: [:new, :create, :show]