about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-10-07 18:26:26 +0200
committerGitHub <noreply@github.com>2018-10-07 18:26:26 +0200
commit09d789e79bf62138bcaa4f057f88f240e6f20127 (patch)
tree8be1b25da0e18ad5b20fcaf6b973af23e8ef0eda /config
parent886af5ce199d4fa178aab280a582cd3a4edd7745 (diff)
Add POST /api/v1/notifications/:id/dismiss (#8905)
POST /api/v1/notifications/dismiss was a mistake in #2251
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index d5a9e734c..50c1d57fc 100644
--- a/config/routes.rb
+++ b/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