Add collaborative legislation summary again
It was removed in commit 128a8164 because we hadn't reviewed it nor
tested it properly. We're now adding it again, fixing the issues we've
found while reviewing.
This commit is contained in:
@@ -97,6 +97,12 @@ class Legislation::ProcessesController < Legislation::BaseController
|
||||
@phase = :milestones
|
||||
end
|
||||
|
||||
def summary
|
||||
@phase = :summary
|
||||
@proposals = @process.proposals.selected
|
||||
@comments = @process.draft_versions.published.last&.best_comments || Comment.none
|
||||
end
|
||||
|
||||
def proposals
|
||||
set_process
|
||||
@phase = :proposals_phase
|
||||
|
||||
Reference in New Issue
Block a user