1
0
Fork 0
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:
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 end
# Raised when a nested respond_to is triggered and the content types of each # 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| # respond_to do |outer_type|
# outer_type.js do # outer_type.js do

View file

@ -795,7 +795,7 @@ module ActionController
@permitted = coder.map["ivars"][:@permitted] @permitted = coder.map["ivars"][:@permitted]
when "!ruby/object:ActionController::Parameters" when "!ruby/object:ActionController::Parameters"
# YAML's Object format. Only needed because of the format # 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"] @parameters, @permitted = coder.map["parameters"], coder.map["permitted"]
end end
end end