1
0
Fork 0
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:
Rebecca Skinner 2016-01-14 11:04:08 +08:00
parent d9bdb61158
commit 99e9630ef8

View file

@ -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)