mirror of
https://github.com/redmine/redmine.git
synced 2026-07-08 12:13:42 +02: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user