Merge pull request #7987 from cirosantilli/get-instead-match

Replace match via get with get on routes
This commit is contained in:
Dmitriy Zaporozhets 2015-01-15 14:42:24 -08:00
commit d4a8471fe9

View file

@ -154,8 +154,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