Fix scoping so that we don't break the naming convention
This commit is contained in:
Родитель
930741d1f5
Коммит
5e45ecb997
|
@ -17,9 +17,11 @@ Rails.application.routes.draw do
|
|||
get "/ext" => "doc#ext"
|
||||
end
|
||||
|
||||
scope :docs do
|
||||
scope :docs, as: :docs do
|
||||
get "/" => "doc#ref"
|
||||
end
|
||||
|
||||
scope :docs do
|
||||
get "/howto/:file", to: redirect { |path_params, _req|
|
||||
"https://github.com/git/git/blob/master/Documentation/howto/#{path_params[:file]}.txt"
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче