slug should replace underscores

This commit is contained in:
Dan Neumann
2013-02-14 16:46:11 -06:00
parent 37b0c168bf
commit 44642d4d0c
2 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@
module Slug
def self.for(string)
string.parameterize
string.parameterize.gsub("_", "-")
end
end