Typo fixes action pack.

This commit is contained in:
alkesh26 2019-01-26 17:15:50 +05:30
parent 8642e3dce5
commit 4b9d6e01ba
2 changed files with 2 additions and 2 deletions

View File

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

View File

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