lib/avo/base_resource.rb in avo-3.1.3 vs lib/avo/base_resource.rb in avo-3.1.4

- old
+ new

@@ -229,10 +229,10 @@ delegate :context, to: ::Avo::Current delegate :name, to: :class delegate :singular_name, to: :class delegate :plural_name, to: :class delegate :underscore_name, to: :class - delegate :underscore_name, to: :class + delegate :to_param, to: :class delegate :find_record, to: :class delegate :model_key, to: :class delegate :tab, to: :items_holder def initialize(record: nil, view: nil, user: nil, params: nil)