Sha256: 62e4a441786ab6ed66758aa8859bbc25db53601842454faf408148b3869ef549
Contents?: true
Size: 356 Bytes
Versions: 5
Compression:
Stored size: 356 Bytes
Contents
module Plate # Includes basic helpers for managing URLs within your site. module URLHelper # Cleans up a string to make it URl-friendly, removing all special # characters, spaces, and sanitizing to a dashed, lowercase string. def sanitize_slug(str) self.site.sanitize_slug(str) end alias_method :s, :sanitize_slug end end
Version data entries
5 entries across 5 versions & 1 rubygems