diff options
Diffstat (limited to 'config/routes/profile.rb')
-rw-r--r-- | config/routes/profile.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/config/routes/profile.rb b/config/routes/profile.rb index 2d0d3fb66f0..77ee138a3c1 100644 --- a/config/routes/profile.rb +++ b/config/routes/profile.rb @@ -22,11 +22,13 @@ resource :profile, only: [:show, :update] do end 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 + scope( + path: 'groups/*id', + id: Gitlab::PathRegex.full_namespace_route_regex, + as: :group, + controller: :groups, + constraints: { format: /(html|json)/ } + ) do patch '/', action: :update put '/', action: :update end @@ -39,7 +41,7 @@ resource :profile, only: [:show, :update] do end resource :preferences, only: [:show, :update] - resources :saved_replies, only: [:index, :show], action: :index + resources :comment_templates, only: [:index, :show], action: :index resources :keys, only: [:index, :show, :create, :destroy] do member do |