Case-sensitivity fix.
This commit is contained in:
parent
bf68586a80
commit
6c5f97f3da
|
@ -96,7 +96,7 @@ module ApplicationHelper
|
||||||
|
|
||||||
def generate_title(name, junction = nil, content = nil, s = false)
|
def generate_title(name, junction = nil, content = nil, s = false)
|
||||||
if s
|
if s
|
||||||
if name[-1] != "s"
|
if name[-1].downcase != "s"
|
||||||
name = name + "'s"
|
name = name + "'s"
|
||||||
else
|
else
|
||||||
name = name + "'"
|
name = name + "'"
|
||||||
|
|
Loading…
Reference in New Issue