Sha256: 1046063a93ba40e907234f6b3f9c94549133f2845c0d700edd7302a52832726b

Contents?: true

Size: 208 Bytes

Versions: 4

Compression:

Stored size: 208 Bytes

Contents

require 'carrierwave-picture/picture_helper'

module Picture

  class Railtie < Rails::Railtie
    initializer 'picture.helper' do |app|
      ActionView::Base.send :include, PictureHelper
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

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