diff options
| author | Rebecca Skinner <traybaby@gmail.com> | 2016-01-14 11:04:08 +0800 |
|---|---|---|
| committer | Rebecca Skinner <traybaby@gmail.com> | 2016-01-14 11:04:08 +0800 |
| commit | 99e9630ef83c8fec8aae70467d2cd26ed91e4384 (patch) | |
| tree | f30125d18a4bcaca41f3f2882a591bda3b5fec8f /actionpack/lib/action_dispatch | |
| parent | d9bdb61158812484aabf2a31fb943dccb7749887 (diff) | |
| download | rails-99e9630ef83c8fec8aae70467d2cd26ed91e4384.tar.gz rails-99e9630ef83c8fec8aae70467d2cd26ed91e4384.tar.bz2 rails-99e9630ef83c8fec8aae70467d2cd26ed91e4384.zip | |
Fix typo in docs [ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch')
| -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) |
