Sha256: 7a196a1276517da8696f2128d10b59b5c9f89ce50e435237162adad906dbe863

Contents?: true

Size: 368 Bytes

Versions: 4

Compression:

Stored size: 368 Bytes

Contents

# require "caches_page_with_host"
# require "rails"
# coding: utf-8
module CachesPageWithHost
  class Engine < Rails::Engine
    initializer 'caches_page_with_host.app_controller' do |app|
      ActiveSupport.on_load(:action_controller) do
        extend CachesPageWithHost::ClassMethods
        include CachesPageWithHost::InstanceMethods
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
caches_page_with_host-0.0.13 lib/caches_page_with_host/engine.rb
caches_page_with_host-0.0.12 lib/caches_page_with_host/engine.rb
caches_page_with_host-0.0.11 lib/caches_page_with_host/engine.rb
caches_page_with_host-0.0.1 lib/caches_page_with_host/engine.rb