summaryrefslogtreecommitdiff
path: root/config/routes/profile.rb
diff options
context:
space:
mode:
authorWei-Meng Lee <wlee@gitlab.com>2019-02-16 01:56:13 +0800
committerWei-Meng Lee <wlee@gitlab.com>2019-05-31 20:49:27 +0800
commit1a402d888c05196212d1ba671368837e85246c9c (patch)
treefa4c4da1cc8eaf9268421448f7dd62a8b17ffffa /config/routes/profile.rb
parent6d73ce696c02bc949b9e3e71b8c14554e43ab340 (diff)
downloadgitlab-ce-1a402d888c05196212d1ba671368837e85246c9c.tar.gz
Send notifications to group-specific email address
- Select notification email by walking up group/subgroup path - Add settings UI to set group email notification address - Add tests
Diffstat (limited to 'config/routes/profile.rb')
-rw-r--r--config/routes/profile.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes/profile.rb b/config/routes/profile.rb
index c1cac3905f1..0e213b0b989 100644
--- a/config/routes/profile.rb
+++ b/config/routes/profile.rb
@@ -17,7 +17,11 @@ resource :profile, only: [:show, :update] do
delete :unlink
end
end
- resource :notifications, only: [:show, :update]
+
+ resource :notifications, only: [:show, :update] do
+ resources :groups, only: :update
+ end
+
resource :password, only: [:new, :create, :edit, :update] do
member do
put :reset