2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

Fix the build.

This commit is contained in:
Guo Xiang Tan 2017-10-26 17:09:00 +08:00
parent 7c3123a2dd
commit f30366744a

View file

@ -33,8 +33,7 @@ module Slug
end
def self.ascii_generator(string)
string.tr!("'", "")
string.parameterize
string.tr("'", "").parameterize
end
def self.encoded_generator(string, downcase: true)