Sha256: 6f037464f44c4f458474f22c085a7b1f2d10a7f0e081be5b137a758e7c6e7aa0
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
require "action_dispatch" require "rails" module ActionDispatch class Railtie < Rails::Railtie config.action_dispatch = ActiveSupport::OrderedOptions.new config.action_dispatch.x_sendfile_header = "" config.action_dispatch.ip_spoofing_check = true config.action_dispatch.show_exceptions = true # Prepare dispatcher callbacks and run 'prepare' callbacks initializer "action_dispatch.prepare_dispatcher" do |app| ActionDispatch::Callbacks.to_prepare { app.routes_reloader.execute_if_updated } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
actionpack-3.0.0.rc | lib/action_dispatch/railtie.rb |