config/initializers/dragonfly.rb in alchemy_cms-3.4.2 vs config/initializers/dragonfly.rb in alchemy_cms-3.5.0.rc1
- old
+ new
@@ -1,24 +1,6 @@
require 'dragonfly_svg'
-# Alchemy CMS Dragonfly configuration.
-
-# Pictures
-Dragonfly.app(:alchemy_pictures).configure do
- plugin :imagemagick
- plugin :svg
- datastore :file,
- root_path: Rails.root.join('uploads/pictures').to_s,
- store_meta: false
-end
-
-# Attachments
-Dragonfly.app(:alchemy_attachments).configure do
- datastore :file,
- root_path: Rails.root.join('uploads/attachments').to_s,
- store_meta: false
-end
-
# Logger
Dragonfly.logger = Rails.logger
# Add model functionality
if defined?(ActiveRecord::Base)