Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4741

Show
Ignore:
Timestamp:
08/09/06 16:50:27 (2 years ago)
Author:
david
Message:

Cause ApplicationController to be reloaded

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/lib/dispatcher.rb

    r4716 r4741  
    100100 
    101101        prepare_breakpoint 
    102         require_dependency('application.rb') unless Object.const_defined?(:ApplicationController) 
     102        Dependencies.require_or_load('application.rb', "ApplicationController") unless Object.const_defined?(:ApplicationController) 
    103103        ActiveRecord::Base.verify_active_connections! if defined?(ActiveRecord) 
    104104        run_preparation_callbacks