diff options
author | Jon Moss <maclover7@users.noreply.github.com> | 2016-01-13 22:14:36 -0500 |
---|---|---|
committer | Jon Moss <maclover7@users.noreply.github.com> | 2016-01-13 22:14:36 -0500 |
commit | 24ad8c058cae81874569da679df4d074694578c2 (patch) | |
tree | f30125d18a4bcaca41f3f2882a591bda3b5fec8f /actionpack | |
parent | d9bdb61158812484aabf2a31fb943dccb7749887 (diff) | |
parent | 99e9630ef83c8fec8aae70467d2cd26ed91e4384 (diff) | |
download | rails-24ad8c058cae81874569da679df4d074694578c2.tar.gz rails-24ad8c058cae81874569da679df4d074694578c2.tar.bz2 rails-24ad8c058cae81874569da679df4d074694578c2.zip |
Merge pull request #23049 from sevenseacat/patch-1
Fix typo in docs [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/request/session.rb | 4 |
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) |