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 end
def self.ascii_generator(string) def self.ascii_generator(string)
string.tr!("'", "") string.tr("'", "").parameterize
string.parameterize
end end
def self.encoded_generator(string, downcase: true) def self.encoded_generator(string, downcase: true)