app/commands/decidim/system/update_admin.rb in decidim-system-0.9.3 vs app/commands/decidim/system/update_admin.rb in decidim-system-0.10.0

- old
+ new

@@ -29,10 +29,10 @@ private attr_reader :form def update_admin - @admin.update_attributes!(attributes) + @admin.update!(attributes) end def attributes { email: form.email