diff options
author | Michael Josephson <mike@josephson.org> | 2015-04-06 13:22:07 +0100 |
---|---|---|
committer | Michael Josephson <mike@josephson.org> | 2015-04-06 13:22:07 +0100 |
commit | e39f11f50aed472b3412c629c39dd025b3fbe8b2 (patch) | |
tree | bd81f4a49dc248040d99a77210ebe776f5439a6e /actionpack | |
parent | ca4417d333292b5d345cc64d3e4bbff1b491e8e3 (diff) | |
download | rails-e39f11f50aed472b3412c629c39dd025b3fbe8b2.tar.gz rails-e39f11f50aed472b3412c629c39dd025b3fbe8b2.tar.bz2 rails-e39f11f50aed472b3412c629c39dd025b3fbe8b2.zip |
fix missing "if" in API docs for ActionController::Parameters#permit
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index e30c9c5ade..c98e937423 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -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+. |