Sha256: 442c4df9cf14e62ed51b18c68039af544001aec8a3f02922b4e05a0b8af3de23

Contents?: true

Size: 654 Bytes

Versions: 2

Compression:

Stored size: 654 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 Downloads
    module Configuration
      def configure
        yield self
      end

       mattr_accessor :paperclip_options do
        {}
      end

      mattr_accessor :base_controller do
        'ApplicationController'
      end

      mattr_accessor :downloads_table_classes do
        'table table-striped table-hover'
      end

      mattr_accessor :download_categories_table_classes do
        'table table-striped table-hover'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_downloads2-1.1.1 lib/ecm/downloads/configuration.rb
ecm_downloads2-1.1.0 lib/ecm/downloads/configuration.rb