Sha256: b0da19f855e85b8e3ba35268a799ebf06c154d2583454dde48047639745b922c
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
module Refinery module Images class Engine < ::Rails::Engine include Refinery::Engine isolate_namespace Refinery engine_name :refinery_images config.autoload_paths += %W( #{config.root}/lib ) initializer 'setup-refinery-images-with-dragonfly', :before => :load_config_initializers do |app| ::Refinery::Images::Dragonfly.setup! end initializer 'attach-refinery-images-with-dragonfly', :after => :load_config_initializers do |app| ::Refinery::Images::Dragonfly.configure! ::Refinery::Images::Dragonfly.attach!(app) end initializer "register refinery_images plugin" do Refinery::Plugin.register do |plugin| plugin.pathname = root plugin.name = 'refinery_images' plugin.version = %q{2.0.0} plugin.menu_match = %r{refinery/image(_dialog)?s$} plugin.activity = { :class_name => :'refinery/image' } plugin.url = { :controller => '/refinery/admin/images' } end end config.after_initialize do Refinery.register_extension(Refinery::Images) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-images-2.0.0 | lib/refinery/images/engine.rb |