Kaynağa Gözat
Add POST /api/v1/notifications/:id/dismiss (#8905)
POST /api/v1/notifications/dismiss was a mistake in #2251
master
Eugen Rochko
5 yıl önce
committed by
GitHub
ebeveyn
işleme
09d789e79b
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
4 ekleme ve
0 silme
-
config/routes.rb
|
|
@@ -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 |
|
|
|