demarches-normaliennes/app/controllers/new_administrateur/procedures_controller.rb
2018-04-24 16:54:05 +02:00

18 lines
343 B
Ruby

module NewAdministrateur
class ProceduresController < AdministrateurController
def apercu
@dossier = procedure_without_control.new_dossier
@tab = apercu_tab
end
private
def apercu_tab
params[:tab] || 'dossier'
end
def procedure_without_control
Procedure.find(params[:id])
end
end
end