about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-10-07 19:47:56 +0200
committerThibaut Girka <thib@sitedethib.com>2018-10-07 19:47:56 +0200
commit611740ce81486282dea650e2fbfa50baef58c1b3 (patch)
tree2d72b2608e4bffe1f36039fa81b059ea75c0c656 /config/routes.rb
parent7cc78431092edb0996372bc93bbc398a34af2395 (diff)
parent25744d43b0c9ae58227e1e46ac9e2b33a7944925 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index db79fc323..01cb6b140 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -307,6 +307,10 @@ Rails.application.routes.draw do
       resources :notifications, only: [:index, :show, :destroy] do
         collection do
           post :clear
+          post :dismiss # Deprecated
+        end
+
+        member do
           post :dismiss
           delete :destroy_multiple
         end