mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Improve documentation
We are talking about a list of parameters even so we need to use plural. Even if we were talking about the instance of the Parameters object we would have to use the capital and monospaced font.
This commit is contained in:
parent
29333ddb69
commit
3ee56f7b3d
1 changed files with 4 additions and 4 deletions
|
@ -240,7 +240,7 @@ module ActionController
|
|||
end
|
||||
|
||||
# Returns a safe <tt>ActiveSupport::HashWithIndifferentAccess</tt>
|
||||
# representation of this parameter with all unpermitted keys removed.
|
||||
# representation of the parameters with all unpermitted keys removed.
|
||||
#
|
||||
# params = ActionController::Parameters.new({
|
||||
# name: 'Senjougahara Hitagi',
|
||||
|
@ -259,7 +259,7 @@ module ActionController
|
|||
end
|
||||
end
|
||||
|
||||
# Returns a safe <tt>Hash</tt> representation of this parameter
|
||||
# Returns a safe <tt>Hash</tt> representation of the parameters
|
||||
# with all unpermitted keys removed.
|
||||
#
|
||||
# params = ActionController::Parameters.new({
|
||||
|
@ -304,8 +304,8 @@ module ActionController
|
|||
alias_method :to_param, :to_query
|
||||
|
||||
# Returns an unsafe, unfiltered
|
||||
# <tt>ActiveSupport::HashWithIndifferentAccess</tt> representation of this
|
||||
# parameter.
|
||||
# <tt>ActiveSupport::HashWithIndifferentAccess</tt> representation of the
|
||||
# parameters.
|
||||
#
|
||||
# params = ActionController::Parameters.new({
|
||||
# name: 'Senjougahara Hitagi',
|
||||
|
|
Loading…
Reference in a new issue