summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorZ.J. van de Weg <zegerjan@gitlab.com>2016-10-10 20:38:48 +0200
committerZ.J. van de Weg <zegerjan@gitlab.com>2016-10-14 11:07:01 +0200
commit88b03bb542a8480d61c260a9dc3769ab791995e5 (patch)
tree69017bb97fc5dd84e52a71ca526c9b59d0441956 /config
parent58368fbc53bfe7c2a9b425626819eae576afff09 (diff)
downloadgitlab-ce-88b03bb542a8480d61c260a9dc3769ab791995e5.tar.gz
Rename method in test
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 68dc84d9c9e..83c3a42c19f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -83,4 +83,9 @@ Rails.application.routes.draw do
draw :group
draw :user
draw :project
+
+ # Get all keys of user
+ get ':username.keys' => 'profiles/keys#get_keys', constraints: { username: /.*/ }
+
+ root to: "root#index"
end