2018-04-13 16:56:00 +02:00
|
|
|
module NewAdministrateur
|
|
|
|
class ProceduresController < AdministrateurController
|
|
|
|
def apercu
|
|
|
|
@dossier = procedure_without_control.new_dossier
|
2018-04-13 17:29:34 +02:00
|
|
|
@tab = apercu_tab
|
2018-04-13 16:56:00 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
2018-04-13 17:29:34 +02:00
|
|
|
def apercu_tab
|
|
|
|
params[:tab] || 'dossier'
|
|
|
|
end
|
|
|
|
|
2018-04-13 16:56:00 +02:00
|
|
|
def procedure_without_control
|
|
|
|
Procedure.find(params[:id])
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|