lib/active_admin/inputs/datepicker_input.rb in activeadmin-1.4.3 vs lib/active_admin/inputs/datepicker_input.rb in activeadmin-2.0.0.rc1
- old
+ new
@@ -17,10 +17,10 @@
end
private
def datepicker_options
options = self.options.fetch(:datepicker_options, {})
- options = Hash[options.map{ |k, v| [k.to_s.camelcase(:lower), v] }]
+ options = Hash[options.map { |k, v| [k.to_s.camelcase(:lower), v] }]
{ datepicker_options: options }
end
end
end
end