Sha256: 8731572fc97c33271adf5eb1a4edcd4276ca986026c5a7261bdee71cccd6ac78
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 Bytes
Contents
module PufferPages class Engine < Rails::Engine engine_name :puffer_pages config.autoload_paths << File.join(root, 'lib') config.puffer_pages = ActiveSupport::OrderedOptions.new config.puffer_pages.raise_errors = false config.after_initialize do if PufferPages.install_i18n_backend I18n.backend = I18n::Backend::Chain.new(PufferPages.i18n_backend, I18n.backend) end end ActiveSupport.on_load(:action_view) do ActionView::Base.send :include, PufferPages::Helpers end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puffer_pages-0.5.0 | lib/puffer_pages/engine.rb |