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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-03 04:22:54 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-22 18:17:43 +0300
commit4a63573b21dedaebaf0722b819926c5a468bcc5d (patch)
treea2c067fb640bf7cb7c3c66edd8b2c46824f3cd07 /config
parent27919e25e8059c644a79ef8b1f5f04d213999295 (diff)
Start applying new layout to snippets pages
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 744a99feded..f95507017cb 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -51,7 +51,8 @@ Gitlab::Application.routes.draw do
get 'raw'
end
end
- get '/s/:username' => 'snippets#user_index', as: :user_snippets, constraints: { username: /.*/ }
+
+ get '/s/:username' => 'snippets#index', as: :user_snippets, constraints: { username: /.*/ }
#
# Invites