mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
Fix the build.
This commit is contained in:
parent
7c3123a2dd
commit
f30366744a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user