Sha256: b134d9f69a4743cb61a4d846b2322b6a2b877911694fab4a0b996ee0dda84cbd

Contents?: true

Size: 396 Bytes

Versions: 9

Compression:

Stored size: 396 Bytes

Contents

require 'rails_amp/overrider'

module RailsAmp
  class Railtie < Rails::Railtie
    initializer 'rails_amp' do |app|
      ActiveSupport.on_load :action_controller do
        include RailsAmp::Overrider
      end

      ActiveSupport.on_load :action_view do
        require 'rails_amp/view_helpers/action_view'
      end

      require 'rails_amp/view_helpers/image_tag_helper'
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_amp-0.2.2 lib/rails_amp/railtie.rb
rails_amp-0.2.1 lib/rails_amp/railtie.rb
rails_amp-0.2.0 lib/rails_amp/railtie.rb
rails_amp-0.1.9 lib/rails_amp/railtie.rb
rails_amp-0.1.8 lib/rails_amp/railtie.rb
rails_amp-0.1.7 lib/rails_amp/railtie.rb
rails_amp-0.1.6 lib/rails_amp/railtie.rb
rails_amp-0.1.5 lib/rails_amp/railtie.rb
rails_amp-0.1.4 lib/rails_amp/railtie.rb