Remove collaborative legislation summary

This feature wasn't properly tested nor reviewed, and after reviewing
several pull requests with a similar status and considering this pull
request is related to the public area of the web, we've decided to
remove it before releasing version 1.1.

This commit reverts commit 4f50e67a.
This commit is contained in:
Javi Martín
2019-11-06 13:00:45 +01:00
parent 405ceee8f9
commit 128a816464
20 changed files with 0 additions and 613 deletions

View File

@@ -7,7 +7,6 @@ class Legislation::ProcessesController < Legislation::BaseController
load_and_authorize_resource
before_action :set_random_seed, only: :proposals
before_action :check_past, only: :resume
def index
@current_filter ||= "open"
@@ -98,21 +97,6 @@ class Legislation::ProcessesController < Legislation::BaseController
@phase = :milestones
end
def resume
@phase = :resume
respond_to do |format|
format.html
format.xlsx { render xlsx: "resume_to_xlsx", filename: ("resume-" + Date.current.to_s + ".xlsx") }
end
end
def check_past
set_process
if !@process.past?
redirect_to legislation_process_path
end
end
def proposals
set_process
@phase = :proposals_phase