app/queries/decidim/admin/process_admins.rb in decidim-admin-0.4.0 vs app/queries/decidim/admin/process_admins.rb in decidim-admin-0.4.1
- old
+ new
@@ -33,10 +33,10 @@
def organization_admins
process.organization.admins
end
def process_admins
- Decidim::Admin::ParticipatoryProcessUserRole
+ Decidim::ParticipatoryProcessUserRole
.where(participatory_process: process, role: :admin)
.pluck(:decidim_user_id)
end
end
end