summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-03-29 17:42:38 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-03-30 10:44:20 +0200
commit5583197e091e8f75ad9c99a1bbc46e6a0b7279d4 (patch)
tree949f3c92f4f951251bbbd3d9cfe8c5bd11878831 /config
parentf8f68d6b8c5b5d85b4798257ae3ae4bf4ec8fadc (diff)
downloadgitlab-ce-5583197e091e8f75ad9c99a1bbc46e6a0b7279d4.tar.gz
Create NotificationSettings object only when user change value in dropdown
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
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 6bf22fb4456..c665cefbb57 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -606,6 +606,7 @@ Rails.application.routes.draw do
resources :forks, only: [:index, :new, :create]
resource :import, only: [:new, :create, :show]
+ resources :notification_settings, only: [:create, :update]
resources :refs, only: [] do
collection do