mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Typo fixes action pack.
This commit is contained in:
parent
8642e3dce5
commit
4b9d6e01ba
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ module ActionController
|
|||
end
|
||||
|
||||
# Raised when a nested respond_to is triggered and the content types of each
|
||||
# are incompatible. For exampe:
|
||||
# are incompatible. For example:
|
||||
#
|
||||
# respond_to do |outer_type|
|
||||
# outer_type.js do
|
||||
|
|
|
@ -795,7 +795,7 @@ module ActionController
|
|||
@permitted = coder.map["ivars"][:@permitted]
|
||||
when "!ruby/object:ActionController::Parameters"
|
||||
# YAML's Object format. Only needed because of the format
|
||||
# backwardscompability above, otherwise equivalent to YAML's initialization.
|
||||
# backwards compatibility above, otherwise equivalent to YAML's initialization.
|
||||
@parameters, @permitted = coder.map["parameters"], coder.map["permitted"]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue