about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorAshley <expenses@airmail.cc>2017-04-22 12:30:35 +1200
committerEugen <eugen@zeonfederated.com>2017-04-22 02:30:35 +0200
commit05ac28f3e451c9239093f55a32e9f1eda770f8fa (patch)
treef0d737536ea1e6aef0ce1428d11743034f112b15 /config
parent0f852c6f749dcee61758c4c5ccd94be98f29512c (diff)
Added API for single notification dismissal (#2251)
* Added API backend for notification dismissal

* Added render statement

* Changed statement
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index bc67016a4..d9b36661e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -148,6 +148,7 @@ Rails.application.routes.draw do
       resources :notifications, only: [:index, :show] do
         collection do
           post :clear
+          post :dismiss
         end
       end