From 09d789e79bf62138bcaa4f057f88f240e6f20127 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 7 Oct 2018 18:26:26 +0200 Subject: Add POST /api/v1/notifications/:id/dismiss (#8905) POST /api/v1/notifications/dismiss was a mistake in #2251 --- config/routes.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config') 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 -- cgit