gearheads
/
mastodon
Archived
2
0
Fork 0

Add POST /api/v1/notifications/:id/dismiss (#8905)

POST /api/v1/notifications/dismiss was a mistake in #2251
gh/stable
Eugen Rochko 2018-10-07 18:26:26 +02:00 committed by GitHub
parent 886af5ce19
commit 09d789e79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -296,6 +296,10 @@ Rails.application.routes.draw do
resources :notifications, only: [:index, :show] do
collection do
post :clear
post :dismiss # Deprecated
end
member do
post :dismiss
end
end