Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'rails4'

  • Loading branch information...
commit be6aace156e636b07461046946ccd2e972045d3f 2 parents 6213963 + 4eaeab1
@justinfrench authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/formtastic/inputs/boolean_input.rb
View
6 lib/formtastic/inputs/boolean_input.rb
@@ -101,11 +101,7 @@ def input_html_options_name
end
def checked?
- if defined? ActionView::Helpers::InstanceTag
- object && ActionView::Helpers::InstanceTag.check_box_checked?(object.send(method), checked_value)
- else
- object && boolean_checked?(object.send(method), checked_value)
- end
+ object && boolean_checked?(object.send(method), checked_value)
end
private
Please sign in to comment.
Something went wrong with that request. Please try again.