Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-06-14 21:36:36 +0300
committerFelipe Artur <felipefac@gmail.com>2016-06-17 05:34:21 +0300
commitf82ab42d0534950c1ceb458e0152f329df80ae9d (patch)
treefbb3d51a8d2c899eb5037176ff3c247b09b68793 /config
parent5c45d5933faa0cc27e1b465322067bd2861b3e47 (diff)
Re-use notifications dropdown on user profile
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 95fbe7dd9df..3dad841d498 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -118,10 +118,18 @@ Rails.application.routes.draw do
end
end
+ #
# Spam reports
+ #
resources :abuse_reports, only: [:new, :create]
#
+ # Notification settings
+ #
+ resources :notification_settings, only: [:create, :update]
+
+
+ #
# Import
#
namespace :import do
@@ -416,7 +424,6 @@ Rails.application.routes.draw do
resource :avatar, only: [:destroy]
resources :milestones, constraints: { id: /[^\/]+/ }, only: [:index, :show, :update, :new, :create]
- resource :notification_setting, only: [:update]
end
end
@@ -648,7 +655,6 @@ Rails.application.routes.draw do
resources :forks, only: [:index, :new, :create]
resource :import, only: [:new, :create, :show]
- resource :notification_setting, only: [:update]
resources :refs, only: [] do
collection do