Replace match via get with get on routes

This commit is contained in:
Ciro Santilli
2014-12-29 10:17:23 +01:00
parent c8bb171664
commit 29ed462775
+2 -2
View File
@@ -143,8 +143,8 @@ Gitlab::Application.routes.draw do
end
end
match "/u/:username" => "users#show", as: :user,
constraints: {username: /(?:[^.]|\.(?!atom$))+/, format: /atom/}, via: :get
get '/u/:username' => 'users#show', as: :user,
constraints: { username: /(?:[^.]|\.(?!atom$))+/, format: /atom/ }
#
# Dashboard Area