aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-01-13 22:14:36 -0500
committerJon Moss <maclover7@users.noreply.github.com>2016-01-13 22:14:36 -0500
commit24ad8c058cae81874569da679df4d074694578c2 (patch)
treef30125d18a4bcaca41f3f2882a591bda3b5fec8f
parentd9bdb61158812484aabf2a31fb943dccb7749887 (diff)
parent99e9630ef83c8fec8aae70467d2cd26ed91e4384 (diff)
downloadrails-24ad8c058cae81874569da679df4d074694578c2.tar.gz
rails-24ad8c058cae81874569da679df4d074694578c2.tar.bz2
rails-24ad8c058cae81874569da679df4d074694578c2.zip
Merge pull request #23049 from sevenseacat/patch-1
Fix typo in docs [ci skip]
-rw-r--r--actionpack/lib/action_dispatch/request/session.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/request/session.rb b/actionpack/lib/action_dispatch/request/session.rb
index aa8dc7cd36..42890225fa 100644
--- a/actionpack/lib/action_dispatch/request/session.rb
+++ b/actionpack/lib/action_dispatch/request/session.rb
@@ -148,8 +148,8 @@ module ActionDispatch
@delegate.delete key.to_s
end
- # Returns value of given key from the session, or raises +KeyError+
- # if can't find given key in case of not setted dafault value.
+ # Returns value of the given key from the session, or raises +KeyError+
+ # if can't find the given key and no default value is set.
# Returns default value if specified.
#
# session.fetch(:foo)