Merge pull request #7987 from cirosantilli/get-instead-match
Replace match via get with get on routes
This commit is contained in:
commit
d4a8471fe9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue