Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-03-03 23:38:27 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-03-04 00:13:59 +0300
commit01b89ee8f17f837544d744c021b92950426a60d8 (patch)
tree24e5cae380242ff2bd1dc4b51ab36a463c3c343a /config
parent9db57bc65a53b19714e7b867bdb75c85058013cf (diff)
Remove `Profile::KeysController#new` action
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 52c532601b4..a918b5bd3f0 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -314,7 +314,7 @@ Rails.application.routes.draw do
end
end
resource :preferences, only: [:show, :update]
- resources :keys
+ resources :keys, except: [:new]
resources :emails, only: [:index, :create, :destroy]
resource :avatar, only: [:destroy]
resource :two_factor_auth, only: [:new, :create, :destroy] do