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-17 06:17:20 +0300
committerFelipe Artur <felipefac@gmail.com>2016-06-17 06:17:20 +0300
commit33c61bd461d21dbb79db18e0c2424f53120e83c0 (patch)
tree2b0d60fe8b8a9c132c8c25f63131d333821f876e /config
parent24f5f071dcce529a3fbbc887ebce7bfc56353361 (diff)
parentf82ab42d0534950c1ceb458e0152f329df80ae9d (diff)
Re-use notifications dropdown/modal for 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 d52cbb22428..207298d7963 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -123,10 +123,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
@@ -421,7 +429,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
@@ -653,7 +660,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