Sha256: 72f5da0ea5d72fbdcd78c72ac6d6883c473473aefc6f5e62b6ed15478c669a49
Contents?: true
Size: 378 Bytes
Versions: 10
Compression:
Stored size: 378 Bytes
Contents
require 'tophat' require 'tophat/reset' require 'rails' module TopHat class Railtie < Rails::Railtie initializer "tophat.view_helpers" do |app| TopHat.setup end # Clear the identity map after each request initializer "tophat.reset" do |app| ActiveSupport.on_load(:action_controller) do include(TopHat::Reset) end end end end
Version data entries
10 entries across 10 versions & 2 rubygems