Sha256: ff8eee0d865f1c8ce1c63de91af35c76b6e5cba473e2f8cc3b199cbcc494e222

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

Stored size: 230 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
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
attachment_magick-0.2.2 lib/attachment_magick/railtie.rb
attachment_magick-0.2.1 lib/attachment_magick/railtie.rb
attachment_magick-0.2.0 lib/attachment_magick/railtie.rb
attachment_magick-0.1.0 lib/attachment_magick/railtie.rb