Replace match via get with get on routes

This commit is contained in:
Ciro Santilli 2014-10-07 18:54:38 +02:00
parent c8bb171664
commit 29ed462775
1 changed files with 2 additions and 2 deletions

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