Sha256: 7cdc07e8f8426ffc1a7d0ba501f08a32ad5a1b221e5c41a3b1461b72cab43a8a

Contents?: true

Size: 343 Bytes

Versions: 12

Compression:

Stored size: 343 Bytes

Contents

require "attachment_magick"
require "rails"

module AttachmentMagick
  class Engine < Rails::Engine
    initializer 'attachment_magick.helper' do |app|
      ActionView::Base.send :include, AttachmentMagickHelper
    end

    initializer 'attachment_magick_dragonfly' do |app|
      require "attachment_magick/dragonfly/init"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
attachment_magick-0.3.6 lib/attachment_magick/railtie.rb
attachment_magick-0.3.5 lib/attachment_magick/railtie.rb
attachment_magick-0.3.4 lib/attachment_magick/railtie.rb
attachment_magick-0.3.3 lib/attachment_magick/railtie.rb
attachment_magick-0.3.2 lib/attachment_magick/railtie.rb
attachment_magick-0.3.1 lib/attachment_magick/railtie.rb
attachment_magick-0.3 lib/attachment_magick/railtie.rb
attachment_magick-0.2.7 lib/attachment_magick/railtie.rb
attachment_magick-0.2.6 lib/attachment_magick/railtie.rb
attachment_magick-0.2.5 lib/attachment_magick/railtie.rb
attachment_magick-0.2.4 lib/attachment_magick/railtie.rb
attachment_magick-0.2.3 lib/attachment_magick/railtie.rb