1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Typo in an argument name: s/trailling/trailing/ (#37586).

git-svn-id: https://svn.redmine.org/redmine/trunk@21786 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-08-28 07:47:41 +00:00
parent c7c24cb6e2
commit 7bff2ed0e3

View File

@ -43,10 +43,10 @@ module Redmine
@path_encoding
end
def format_path_ends(path, leading=true, trailling=true)
def format_path_ends(path, leading=true, trailing=true)
path = leading ? with_leading_slash(path) :
without_leading_slash(path)
trailling ? with_trailing_slash(path) :
trailing ? with_trailing_slash(path) :
without_trailing_slash(path)
end