lib/ads/rails/railtie.rb in ads-rails-0.0.3 vs lib/ads/rails/railtie.rb in ads-rails-0.0.4

- old
+ new

@@ -1,8 +1,11 @@ module Ads module Rails class Railtie < ::Rails::Railtie + config.ads = ActiveSupport::OrderedOptions.new + config.ads.renderer = nil + initializer 'ads.rails' do ::ActionView::Base.send :include, Ads::Rails::ActionView::Base end end