summaryrefslogtreecommitdiff
path: root/config/routes/profile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/profile.rb')
-rw-r--r--config/routes/profile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/profile.rb b/config/routes/profile.rb
index fcf8812ee2e..6126a3b593b 100644
--- a/config/routes/profile.rb
+++ b/config/routes/profile.rb
@@ -22,7 +22,7 @@ resource :profile, only: [:show, :update] do
end
resource :notifications, only: [:show, :update] do
- resources :groups, only: :update
+ resources :groups, only: :update, constraints: { id: Gitlab::PathRegex.full_namespace_route_regex }
end
resource :password, only: [:new, :create, :edit, :update] do