diff options
Diffstat (limited to 'config/routes/profile.rb')
-rw-r--r-- | config/routes/profile.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/routes/profile.rb b/config/routes/profile.rb index b8d4a0c49c2..91f6eb678e4 100644 --- a/config/routes/profile.rb +++ b/config/routes/profile.rb @@ -23,10 +23,10 @@ resource :profile, only: [:show, :update] do resource :notifications, only: [:show, :update] do scope(path: 'groups/*id', - id: Gitlab::PathRegex.full_namespace_route_regex, - as: :group, - controller: :groups, - constraints: { format: /(html|json)/ }) do + id: Gitlab::PathRegex.full_namespace_route_regex, + as: :group, + controller: :groups, + constraints: { format: /(html|json)/ }) do patch '/', action: :update put '/', action: :update end |