app/controllers/decidim/initiatives/committee_requests_controller.rb in decidim-initiatives-0.27.3 vs app/controllers/decidim/initiatives/committee_requests_controller.rb in decidim-initiatives-0.27.4
- old
+ new
@@ -68,10 +68,10 @@
end
private
def membership_request
- @membership_request ||= InitiativesCommitteeMember.find(params[:id])
+ @membership_request ||= InitiativesCommitteeMember.where(initiative: current_participatory_space).find(params[:id])
end
end
end
end