mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-21 02:26:12 +10:00
Replace match via get with get on routes
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user