app/helpers/kadmin/forms/inverted_check_box.rb in kadmin-0.3.1 vs app/helpers/kadmin/forms/inverted_check_box.rb in kadmin-0.3.2
- old
+ new
@@ -1,10 +1,10 @@
-module Kadmin
- module Forms
- class InvertedCheckBox < ActionView::Helpers::Tags::CheckBox
- # Overload how it gets the value and return the invert
- def value(*args)
- return !super
- end
- end
- end
-end
+module Kadmin
+ module Forms
+ class InvertedCheckBox < ActionView::Helpers::Tags::CheckBox
+ # Overload how it gets the value and return the invert
+ def value(*args)
+ return !super
+ end
+ end
+ end
+end