diff options
author | Rémy Coutable <remy@rymai.me> | 2016-04-14 12:20:16 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-04-15 09:45:58 +0200 |
commit | a434ffd3b3a895bd75daed76000def23f4002f5a (patch) | |
tree | 9b94c5ec8da08a570a172ca6d3ba9d92619cd9b1 /config | |
parent | 595aba54afce01a7903990f6630ae03de1c4d61e (diff) | |
download | gitlab-ce-a434ffd3b3a895bd75daed76000def23f4002f5a.tar.gz |
Make /profile/keys/new redirects to /profile/keys for back-compat
Report: https://github.com/gitlabhq/gitlabhq/issues/10138
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 688b83d2c95..f32f7ea8557 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -326,7 +326,7 @@ Rails.application.routes.draw do end end resource :preferences, only: [:show, :update] - resources :keys, except: [:new] + resources :keys resources :emails, only: [:index, :create, :destroy] resource :avatar, only: [:destroy] resource :two_factor_auth, only: [:new, :create, :destroy] do |