app/helpers/agilibox/text_helper.rb in agilibox-1.9.9 vs app/helpers/agilibox/text_helper.rb in agilibox-1.9.10

- old
+ new

@@ -45,11 +45,11 @@ opts[:separator] = I18n.t("number.format.separator") number_with_precision(n, opts).tr(" ", nbsp) end - def date(d, *args) - I18n.l(d, *args) unless d.nil? + def date(d, **args) + I18n.l(d, **args) unless d.nil? end def boolean_icon(bool) return if bool.nil?