Sha256: 7cede12514abfd2561d68c9a14e92813930a8f399711add6b48859e5b2bef81a
Contents?: true
Size: 1.27 KB
Versions: 15
Compression:
Stored size: 1.27 KB
Contents
Ecm::Pictures.configure do |config| # Accepted markup languages # # default: config.markup_languages = %w[ textile ] config.markup_languages = %w( textile ) # Default markup language # # default: config.default_markup_language = 'textile' config.default_markup_language = 'textile' # Paperclip options # # default: config.paperclip_options = { # styles: { # small_thumb: "80x60", # medium_thumb: "160x120", # default_thumb: "260x180" # } # } config.paperclip_options = { styles: { small_thumb: '80x60', medium_thumb: '160x120', default_thumb: '260x180' } } # Set the base controller for the contact form # # Default: config.base_controller = 'ApplicationController' # config.base_controller = 'ApplicationController' # Adds <notextile> tags around the to fix html output. # # Default: config.prevent_textile_rendering_in_html = true # config.prevent_textile_rendering_in_html = true # Render picture galleries in the index view as :thumbnail # or :media_object. # # Default: config.render_picture_gallery_index_as = :media_object # config.render_picture_gallery_index_as = :media_object end
Version data entries
15 entries across 15 versions & 2 rubygems