Sha256: f9df906d20100d5cbe578cbbe28fc112bfd129ce2dcf8f4cce1e4c79bb25f8a7

Contents?: true

Size: 744 Bytes

Versions: 5

Compression:

Stored size: 744 Bytes

Contents

require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/module/attribute_accessors'
require 'active_support/hash_with_indifferent_access'

module Ecm
  module Pictures
    module Configuration
      def configure
        yield self
      end

      mattr_accessor :markup_languages do
        []
      end

      mattr_accessor :default_markup_language do
        nil
      end

      mattr_accessor :paperclip_options do
        {}
      end

      mattr_accessor :base_controller do
        'ApplicationController'
      end

      mattr_accessor :prevent_textile_rendering_in_html do
        true
      end

      mattr_accessor :render_picture_gallery_index_as do
        :thumbnail
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_pictures2-2.1.4 lib/ecm/pictures/configuration.rb
ecm_pictures2-2.1.3 lib/ecm/pictures/configuration.rb
ecm_pictures2-2.1.2 lib/ecm/pictures/configuration.rb
ecm_pictures2-2.1.1 lib/ecm/pictures/configuration.rb
ecm_pictures2-2.1.0 lib/ecm/pictures/configuration.rb