Commit 29ed4627 authored by Ciro Santilli's avatar Ciro Santilli

Replace match via get with get on routes

parent c8bb1716
...@@ -143,8 +143,8 @@ Gitlab::Application.routes.draw do ...@@ -143,8 +143,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