18 lines
343 B
Ruby
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
|