lib/extensions.rb in papermill-1.0.0 vs lib/extensions.rb in papermill-1.0.1
- old
+ new
@@ -51,8 +51,8 @@
end
module StringToUrlNotFound
def to_url
- gsub(/[^a-zA-Z0-9]/, "-").gsub(/-+/, "-").gsub(/^-|-$/, "")
+ gsub(/[^a-zA-Z0-9]/, "-").gsub(/-+/, "-").gsub(/^-|-$/, "").downcase
end
end
\ No newline at end of file