about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-07-14 17:03:43 +0200
committerbeatrix <beatrix.bitrot@gmail.com>2017-07-14 11:03:43 -0400
commit75aafc932e42b5dba1030700bb47be0db41b1ab5 (patch)
tree12c19b09e3ec5e96d71e219ddee0e99e4c2ff7e2 /config
parent6ce806f91304937174fb593ea1f343b528fa7cd6 (diff)
Added buttons and menu items to dismiss individual notifications (#76)
* Added DELETE verb for notifications

* Added notification dismiss button to status dropdown

* Added reveal-on-hover notif dismiss button, added FollowNotification component
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 963fedcb4..a63fb3ae6 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -175,7 +175,7 @@ Rails.application.routes.draw do
         end
       end
 
-      resources :notifications, only: [:index, :show] do
+      resources :notifications, only: [:index, :show, :destroy] do
         collection do
           post :clear
           post :dismiss