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.
6 lines
160 B
Ruby
6 lines
160 B
Ruby
resource :account, controller: "account", only: [:show, :update, :delete] do
|
|
get :erase, on: :collection
|
|
end
|
|
|
|
resource :subscriptions, only: [:edit, :update]
|