diff options
author | Akira Matsuda <ronnie@dio.jp> | 2016-12-24 22:08:23 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2016-12-24 22:16:47 +0900 |
commit | b232c51435c7da271a0b6259124435108016070e (patch) | |
tree | 71c8bb3ad90fdabe000ecc25c4609926d4dfb399 /actionview/lib/action_view/helpers/url_helper.rb | |
parent | 91fa2b71c3fecb26a1dc7836874478f12e6d7a02 (diff) | |
download | rails-b232c51435c7da271a0b6259124435108016070e.tar.gz rails-b232c51435c7da271a0b6259124435108016070e.tar.bz2 rails-b232c51435c7da271a0b6259124435108016070e.zip |
No need to nodoc private methods
Diffstat (limited to 'actionview/lib/action_view/helpers/url_helper.rb')
-rw-r--r-- | actionview/lib/action_view/helpers/url_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/url_helper.rb b/actionview/lib/action_view/helpers/url_helper.rb index 22cc4b2920..58a4a04dcb 100644 --- a/actionview/lib/action_view/helpers/url_helper.rb +++ b/actionview/lib/action_view/helpers/url_helper.rb @@ -614,7 +614,7 @@ module ActionView # # to_form_params({ name: 'Denmark' }, 'country') # # => [{name: 'country[name]', value: 'Denmark'}] - def to_form_params(attribute, namespace = nil) # :nodoc: + def to_form_params(attribute, namespace = nil) attribute = if attribute.respond_to?(:permitted?) unless attribute.permitted? raise ArgumentError, "Attempting to generate a buttom from non-sanitized request parameters!" \ |