Changeset 2970
- Timestamp:
- 11/10/05 12:59:22 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/components.rb
r2749 r2970 53 53 begin 54 54 ActionController::Flash::FlashHash.avoid_sweep = true 55 Thread.current[:p]= component_class(options).process(request_for_component(options), reuse_response ? @response : response_for_component)55 p = component_class(options).process(request_for_component(options), reuse_response ? @response : response_for_component) 56 56 ensure 57 57 ActionController::Flash::FlashHash.avoid_sweep = false 58 58 end 59 Thread.current[:p]59 p 60 60 end 61 61