mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: category custom slug can't be set when generation method is none
This commit is contained in:
@@ -13,6 +13,10 @@ module Slug
|
||||
slug.blank? ? default : slug
|
||||
end
|
||||
|
||||
def self.sanitize(string)
|
||||
self.encoded_generator(string)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def self.ascii_generator(string)
|
||||
|
Reference in New Issue
Block a user