Adds community to proposals dashboard

This commit is contained in:
Juan Salvador Pérez García
2018-07-11 12:39:18 +02:00
parent 26d2a500ef
commit e8cd54d621
10 changed files with 116 additions and 0 deletions

View File

@@ -47,6 +47,10 @@ class ProposalsDashboardController < Dashboard::BaseController
authorize! :dashboard, proposal
end
def community
authorize! :dashboard, proposal
end
def supports
authorize! :dashboard, proposal
render json: ProposalSupportsQuery.for(params)