Sha256: 15a09d31240ad9f0997d7ff52a33699a4d92810b57108f5ed0c11f111fef13a3
Contents?: true
Size: 475 Bytes
Versions: 1
Compression:
Stored size: 475 Bytes
Contents
require "action_dispatch" require "rails" module ActionDispatch class Railtie < Rails::Railtie railtie_name :action_dispatch # Prepare dispatcher callbacks and run 'prepare' callbacks initializer "action_dispatch.prepare_dispatcher" do |app| # TODO: This used to say unless defined?(Dispatcher). Find out why and fix. require 'rails/dispatcher' ActionDispatch::Callbacks.to_prepare { app.routes_reloader.reload_if_changed } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
actionpack-3.0.0.beta | lib/action_dispatch/railtie.rb |