Changeset 6887
- Timestamp:
- 05/29/07 02:42:31 (1 year ago)
- Files:
-
- trunk/actionpack/lib/action_controller/flash.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/flash.rb
r6670 r6887 99 99 # Marks the entire flash or a single flash entry to be discarded by the end of the current action 100 100 # 101 # flash. keep # keep entire flash available for the next action102 # flash.discard(:warning) # discard the "warning" entry (it'll still be available for the current action)101 # flash.discard # discard the entire flash at the end of the current action 102 # flash.discard(:warning) # discard only the "warning" entry at the end of the current action 103 103 def discard(k = nil) 104 104 use(k)