Sha256: 192ef0d585f364b02e47bfc2f9ef47bebde9183d6eaf27234e6b2e5ddd709891
Contents?: true
Size: 613 Bytes
Versions: 11
Compression:
Stored size: 613 Bytes
Contents
# Alchemy CMS Dragonfly configuration. app = Dragonfly[:alchemy_pictures] app.configure_with :imagemagick app.configure_with :rails app.define_macro ActiveRecord::Base, :image_accessor app.configure do |c| c.datastore.configure do |d| d.root_path = Rails.root.join('uploads/pictures').to_s d.store_meta = false end # You only need this if you use Dragonfly url helpers, what you not need to ;) # If you use the Dragonfly url helpers and you have a different mountpoint for Alchemy, # you have to alter this to include the mountpoint. c.url_format = '/pictures/:job/:basename.:format' end
Version data entries
11 entries across 11 versions & 1 rubygems