提交 e39f11f5 编写于 作者: M Michael Josephson

fix missing "if" in API docs for ActionController::Parameters#permit

上级 ca4417d3
......@@ -268,7 +268,7 @@ def require(key)
#
# 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+.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册