app/commands/decidim/assemblies/admin/update_assembly_admin.rb in decidim-assemblies-0.9.3 vs app/commands/decidim/assemblies/admin/update_assembly_admin.rb in decidim-assemblies-0.10.0

- old
+ new

@@ -32,10 +32,20 @@ private attr_reader :form, :user_role def update_role! - user_role.update_attributes!(role: form.role) + log_info = { + resource: { + title: user_role.user.name + } + } + Decidim.traceability.update!( + user_role, + form.current_user, + { role: form.role }, + log_info + ) end end end end end