Changeset 5792
- Timestamp:
- 12/26/06 23:56:00 (2 years ago)
- Files:
-
- trunk/railties/CHANGELOG (modified) (1 diff)
- trunk/railties/lib/dispatcher.rb (modified) (1 diff)
- trunk/railties/lib/initializer.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/CHANGELOG
r5790 r5792 1 1 *SVN* 2 3 * Allow config.to_prepare to work, make the dispatcher safe to 're require'. [Koz, Nicholas Seckar] 2 4 3 5 * Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file. Closes #6852 [fearoffish] trunk/railties/lib/dispatcher.rb
r5658 r5792 164 164 end 165 165 166 self.preparation_callbacks = []166 self.preparation_callbacks ||= [] 167 167 self.preparation_callbacks_run = false 168 168 trunk/railties/lib/initializer.rb
r5738 r5792 552 552 # See Dispatcher#to_prepare. 553 553 def to_prepare(&callback) 554 require 'dispatcher' unless defined?(::Dispatcher) 554 555 Dispatcher.to_prepare(&callback) 555 556 end