mirror of
https://github.com/discourse/discourse.git
synced 2025-07-03 06:52:49 +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