Commit d4a8471f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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

Replace match via get with get on routes
parents 11591573 29ed4627
...@@ -154,8 +154,8 @@ Gitlab::Application.routes.draw do ...@@ -154,8 +154,8 @@ Gitlab::Application.routes.draw do
end end
end end
match "/u/:username" => "users#show", as: :user, get '/u/:username' => 'users#show', as: :user,
constraints: {username: /(?:[^.]|\.(?!atom$))+/, format: /atom/}, via: :get constraints: { username: /(?:[^.]|\.(?!atom$))+/, format: /atom/ }
# #
# Dashboard Area # Dashboard Area
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment