[#1568] Remove old previsualisation code
This commit is contained in:
parent
fd10310cbf
commit
521aec6af9
10 changed files with 32 additions and 238 deletions
|
@ -1,15 +0,0 @@
|
|||
class Admin::PrevisualisationsController < AdminController
|
||||
before_action :retrieve_procedure
|
||||
|
||||
def show
|
||||
@procedure
|
||||
@dossier = Dossier.new(id: 0, procedure: @procedure)
|
||||
|
||||
PrevisualisationService.delete_all_champs @dossier
|
||||
@dossier.build_default_champs
|
||||
|
||||
@champs = @dossier.ordered_champs
|
||||
|
||||
@headers = @champs.select { |champ| champ.type_champ == 'header_section' }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue