Procedure Preview: add annotations preview
This commit is contained in:
parent
366ef2d2b5
commit
48c5d5a917
2 changed files with 26 additions and 5 deletions
|
@ -2,10 +2,15 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue