Sha256: 22caa52a4d29ca761070ba5f372b18162b81c4e6b2a468c567409f730bc6af01

Contents?: true

Size: 328 Bytes

Versions: 54

Compression:

Stored size: 328 Bytes

Contents

module Locomotive::Steam
  module Adapters
    module Filesystem
      module Sanitizers

        class ContentType

          include Adapters::Filesystem::Sanitizer

          def apply_to_entity(entity)
            super

            entity[:slug] = entity[:slug].to_s
          end

        end

      end
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
locomotivecms_steam-1.8.0.alpha2 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.8.0.alpha1 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.7.1 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.7.0 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.6.1 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.6.0 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.6.0.rc1 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.6.0.beta1 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.5.3 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.5.2 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.5.1 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.5.0 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.5.0.rc1 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.5.0.rc0 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.5.0.beta3 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.5.0.beta2 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.5.0.beta1 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.4.1 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.4.0 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb
locomotivecms_steam-1.4.0.rc2 lib/locomotive/steam/adapters/filesystem/sanitizers/content_type.rb