Sha256: d8dbb7caf008ccba5470af90fdb174ac3be0b981c9161df7375fe27d81a9c07f

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

module Ads
  module Rails
    class Railtie < ::Rails::Railtie

      initializer 'ads.action_view' do
        ActiveSupport.on_load :action_view do
          ::ActionView::Base.include(
            Ads::Rails::Extensions::ActionView::Base
          )
        end
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ads-rails-5.1.0 lib/ads/rails/railtie.rb
ads-rails-4.0.0.1 lib/ads/rails/railtie.rb