class Locomotive::Steam::Adapters::Filesystem::Sanitizers::ContentType
Public Instance Methods
apply_to_entity(entity)
click to toggle source
Calls superclass method
Locomotive::Steam::Adapters::Filesystem::Sanitizer#apply_to_entity
# File lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb, line 10 def apply_to_entity(entity) super entity[:slug] = entity[:slug].to_s end