aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/flash.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/flash.rb b/actionpack/lib/action_controller/flash.rb
index 534c74745e..ac38b46f68 100644
--- a/actionpack/lib/action_controller/flash.rb
+++ b/actionpack/lib/action_controller/flash.rb
@@ -98,8 +98,8 @@ module ActionController #:nodoc:
# Marks the entire flash or a single flash entry to be discarded by the end of the current action
#
- # flash.keep # keep entire flash available for the next action
- # flash.discard(:warning) # discard the "warning" entry (it'll still be available for the current action)
+ # flash.discard # discard the entire flash at the end of the current action
+ # flash.discard(:warning) # discard only the "warning" entry at the end of the current action
def discard(k = nil)
use(k)
end