diff options
Diffstat (limited to 'actionpack/lib/action_view/helpers/tags/checkable.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/tags/checkable.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/actionpack/lib/action_view/helpers/tags/checkable.rb b/actionpack/lib/action_view/helpers/tags/checkable.rb deleted file mode 100644 index b97c0c68d7..0000000000 --- a/actionpack/lib/action_view/helpers/tags/checkable.rb +++ /dev/null @@ -1,16 +0,0 @@ -module ActionView - module Helpers - module Tags - module Checkable - def input_checked?(object, options) - if options.has_key?("checked") - checked = options.delete "checked" - checked == true || checked == "checked" - else - checked?(value(object)) - end - end - end - end - end -end |