Changeset 5190
- Timestamp:
- 09/26/06 16:25:27 (2 years ago)
- Files:
-
- trunk/actionpack/lib/action_controller/filters.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/filters.rb
r5163 r5190 426 426 def build_excluded_actions_hash 427 427 @excluded_actions_hash = 428 if @included_actions429 @included_actions.inject(Hash.new(true)){|h, a| h[a] = false; h}430 else431 @excluded_actions.inject(Hash.new(false)){|h, a| h[a] = true; h}432 end428 if @included_actions 429 @included_actions.inject(Hash.new(true)){|h, a| h[a] = false; h} 430 else 431 @excluded_actions.inject(Hash.new(false)){|h, a| h[a] = true; h} 432 end 433 433 end 434 434 end