Case-sensitivity fix.

This commit is contained in:
Yuki 2015-05-14 03:40:34 +05:30
parent bf68586a80
commit 6c5f97f3da
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ module ApplicationHelper
def generate_title(name, junction = nil, content = nil, s = false)
if s
if name[-1] != "s"
if name[-1].downcase != "s"
name = name + "'s"
else
name = name + "'"