lib/avo/resources/controls/create_button.rb in avo-3.0.0.beta1 vs lib/avo/resources/controls/create_button.rb in avo-3.0.0.pre1

- old
+ new

@@ -4,10 +4,10 @@ class CreateButton < BaseControl def initialize(**args) super(**args) if args[:item].present? - @label = I18n.t("avo.create_new_item", item: args[:item].humanize(capitalize: false)) if label.nil? + @label = I18n.t("avo.create_new_item", item: args[:item]) if label.nil? end end end end end