mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix typo in docs [ci skip]
This commit is contained in:
parent
d9bdb61158
commit
99e9630ef8
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue