app/commands/decidim/conferences/admin/create_partner.rb in decidim-conferences-0.22.0 vs app/commands/decidim/conferences/admin/create_partner.rb in decidim-conferences-0.23.0

- old
+ new

@@ -47,18 +47,18 @@ } @partner = Decidim.traceability.create!( Decidim::Conferences::Partner, form.current_user, - form.attributes.slice( - :name, - :weight, - :link, - :partner_type, - :logo, - :remove_avatar - ).merge( - conference: conference + { conference: conference }.merge( + form.attributes.slice( + :name, + :weight, + :link, + :partner_type, + :logo, + :remove_avatar + ) ), log_info ) end end