lib/activeadmin_addons.rb in activeadmin_addons-2.0.0.beta.0 vs lib/activeadmin_addons.rb in activeadmin_addons-2.0.0.beta.2

- old
+ new

@@ -3,19 +3,22 @@ attr_writer :default_select, :datetime_picker_default_options, :datetime_picker_input_format def default_select return "slim-select" unless @default_select + @default_select end def datetime_picker_default_options return {} unless @datetime_picker_default_options + @datetime_picker_default_options end def datetime_picker_input_format return "%Y-%m-%d %H:%M" unless @datetime_picker_input_format + @datetime_picker_input_format end def setup yield self