mirror of https://github.com/rails/rails
Merge pull request #19666 from mikej/master
fix missing "if" in API docs for ActionController::Parameters#permit
This commit is contained in:
commit
2c16acde0d
|
@ -268,7 +268,7 @@ module ActionController
|
|||
#
|
||||
# params.permit(:name)
|
||||
#
|
||||
# +:name+ passes it is a key of +params+ whose associated value is of type
|
||||
# +:name+ passes if it is a key of +params+ whose associated value is of type
|
||||
# +String+, +Symbol+, +NilClass+, +Numeric+, +TrueClass+, +FalseClass+,
|
||||
# +Date+, +Time+, +DateTime+, +StringIO+, +IO+,
|
||||
# +ActionDispatch::Http::UploadedFile+ or +Rack::Test::UploadedFile+.
|
||||
|
|
Loading…
Reference in New Issue