mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:34:31 +08:00
slug should replace underscores
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
module Slug
|
||||
|
||||
def self.for(string)
|
||||
string.parameterize
|
||||
string.parameterize.gsub("_", "-")
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user