Add link to download summary in XLSX format again
It was removed in commit 128a8164 alongside everything related to the
legislation process summary.
Co-Authored-By: taitus <sebastia.roig@gmail.com>
This commit is contained in:
@@ -101,6 +101,11 @@ class Legislation::ProcessesController < Legislation::BaseController
|
||||
@phase = :summary
|
||||
@proposals = @process.proposals.selected
|
||||
@comments = @process.draft_versions.published.last&.best_comments || Comment.none
|
||||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.xlsx { render xlsx: "summary", filename: "summary-#{Date.current}.xlsx" }
|
||||
end
|
||||
end
|
||||
|
||||
def proposals
|
||||
|
||||
Reference in New Issue
Block a user