Sha256: c6ee5715aa7de834ac23b493fe23d7e17d1d66dcea3b26b98701e871c63e0e32

Contents?: true

Size: 347 Bytes

Versions: 4

Compression:

Stored size: 347 Bytes

Contents

module Picturefill
  module Rails
    class Engine < ::Rails::Engine

      initializer 'picturefill' do |app|
        ActiveSupport.on_load(:action_view) do
          require "picturefill/rails/view_helper"
          class ActionView::Base
            include Picturefill::Rails::ViewHelper
          end
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
picturefill-0.1.3 lib/picturefill/rails/engine.rb
picturefill-0.1.2 lib/picturefill/rails/engine.rb
picturefill-0.1.1 lib/picturefill/rails/engine.rb
picturefill-0.1.0 lib/picturefill/rails/engine.rb