Extend notifications to be marked as read and unread
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user