Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/has_settings/has_settings_helper.rb

Instance Method Summary collapse

Instance Method Details

#setting_check_box(method, options = {}, checked_value = "1", unchecked_value = "0") ⇒ Object



14
15
16
# File 'lib/has_settings/has_settings_helper.rb', line 14

def setting_check_box(method, options = {}, checked_value = "1", unchecked_value = "0")
  @template.setting_check_box(@object_name, method, objectify_options(options), checked_value, unchecked_value)
end