mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Fix the build.
This commit is contained in:
parent
7c3123a2dd
commit
f30366744a
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue