Sha256: 14b107f4b90a3085202820be8f2e041f3056d20e4b70e3dc490029819d304e01
Contents?: true
Size: 735 Bytes
Versions: 3
Compression:
Stored size: 735 Bytes
Contents
require "action_view" require "rails" module ActionView class Railtie < Rails::Railtie config.action_view = ActiveSupport::OrderedOptions.new require "action_view/railties/log_subscriber" log_subscriber :action_view, ActionView::Railties::LogSubscriber.new initializer "action_view.cache_asset_timestamps" do |app| unless app.config.cache_classes ActiveSupport.on_load(:action_view) do ActionView::Helpers::AssetTagHelper.cache_asset_timestamps = false end end end initializer "action_view.set_configs" do |app| ActiveSupport.on_load(:action_view) do app.config.action_view.each do |k,v| send "#{k}=", v end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
actionpack-3.0.0.beta4 | lib/action_view/railtie.rb |
actionpack-3.0.0.beta3 | lib/action_view/railtie.rb |
actionpack-3.0.0.beta2 | lib/action_view/railtie.rb |