Changeset 5715
- Timestamp:
- 12/12/06 22:26:37 (2 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/filters.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r5709 r5715 1 1 *SVN* 2 3 * Correctly report which filter halted the chain. #6699 [Martin Emde] 2 4 3 5 * Fix a bug in Routing where a parameter taken from the path of the current request could not be used as a query parameter for the next. Closes #6752. [Nicholas Seckar] trunk/actionpack/lib/action_controller/filters.rb
r5331 r5715 617 617 618 618 def perform_action_with_filters 619 #result = perform_filters do 620 # perform_action_without_filters unless performed? 621 #end 622 @before_filter_chain_aborted = (call_filter(self.class.filter_chain, 0) == false) 619 call_filter(self.class.filter_chain, 0) 623 620 end 624 621 … … 641 638 halted = call_filter(chain, index.next) 642 639 end 643 halt_filter_chain(filter.filter, :no_yield) if halted == false 640 halt_filter_chain(filter.filter, :no_yield) if halted == false unless @before_filter_chain_aborted 644 641 halted 645 642 end … … 654 651 end 655 652 end 653 @before_filter_chain_aborted = true 656 654 return false 657 655 end