Permalink
Browse files

Merge branch 'rails4'

  • Loading branch information...
justinfrench committed Jan 31, 2013
2 parents 6213963 + 4eaeab1 commit be6aace156e636b07461046946ccd2e972045d3f
Showing with 1 addition and 5 deletions.
  1. +1 −5 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

0 comments on commit be6aace

Please sign in to comment.