Allow updating the status of notifications

You can update the same "notifications" section that we allow you to
update in "my account".

This "subscriptions" section differs from the "my account" section
because we do not need to be logged in to update the status of the
notifications.
This commit is contained in:
taitus
2020-12-29 12:14:42 +01:00
committed by Javi Martín
parent 6d9e4a9330
commit 2bfdc421ae
3 changed files with 45 additions and 1 deletions

View File

@@ -2,4 +2,4 @@ resource :account, controller: "account", only: [:show, :update, :delete] do
get :erase, on: :collection
end
resource :subscriptions, only: [:edit]
resource :subscriptions, only: [:edit, :update]