Sha256: 7f579996e3772aed25a8b3f8fa01825fa0a730cee48c0d18ddb6ebf1e28af08f

Contents?: true

Size: 494 Bytes

Versions: 57

Compression:

Stored size: 494 Bytes

Contents

module Cmor::Galleries
  module Configuration
    def configure
      yield self
    end

    mattr_accessor(:base_controller) { '::FrontendController' }
    mattr_accessor(:galleries_helper_render_default_options) { { variant_options: {}, show_details: false } }
    mattr_accessor(:pictures_helper_render_default_options) { { image_tag_only: true } }
    mattr_accessor(:thumbnail_variant_options) { { combine_options: { resize: "384x216^", extent: "384x216", gravity: "center"} } }
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
cmor_galleries-0.0.60.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.59.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.58.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.57.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.56.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.55.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.54.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.53.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.52.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.51.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.50.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.49.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.48.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.45.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.44.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.43.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.42.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.41.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.40.pre lib/cmor/galleries/configuration.rb
cmor_galleries-0.0.39.pre lib/cmor/galleries/configuration.rb