From 6c5f97f3dadf76c88c586f2356402132a5b57a9e Mon Sep 17 00:00:00 2001 From: Yuki Date: Thu, 14 May 2015 03:40:34 +0530 Subject: [PATCH] Case-sensitivity fix. --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d42488e2..aa18e1a5 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 + "'"