summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-02 18:22:54 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-22 18:17:43 +0300
commit4a63573b21dedaebaf0722b819926c5a468bcc5d (patch)
treea2c067fb640bf7cb7c3c66edd8b2c46824f3cd07 /config
parent27919e25e8059c644a79ef8b1f5f04d213999295 (diff)
downloadgitlab-ce-4a63573b21dedaebaf0722b819926c5a468bcc5d.tar.gz
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