summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-01 11:43:22 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-01 11:43:22 -0500
commitf0b877904703b9e22ffd4556a1872b0a20f55d36 (patch)
treeca0eff35ca4633430f4e658d2dc39718b70b93dc /config
parent10eb6d3cd7c9777d38558017073997d3b5be1c98 (diff)
downloadgitlab-ce-f0b877904703b9e22ffd4556a1872b0a20f55d36.tar.gz
Make url and actions to be the same name
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index e1448d231b5..52c532601b4 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -335,10 +335,10 @@ Rails.application.routes.draw do
get 'u/:username/groups' => 'users#groups', as: :user_groups,
constraints: { username: /.*/ }
- get 'u/:username/projects' => 'users#user_projects', as: :user_projects,
+ get 'u/:username/projects' => 'users#projects', as: :user_projects,
constraints: { username: /.*/ }
- get 'u/:username/contributed_projects' => 'users#user_contributed_projects', as: :user_contributed_projects,
+ get 'u/:username/contributed' => 'users#contributed', as: :user_contributed_projects,
constraints: { username: /.*/ }
get '/u/:username' => 'users#show', as: :user,