[#2604] Extract method in ProceduresController
This commit is contained in:
parent
9dad0c6e14
commit
dd80cc280a
1 changed files with 5 additions and 1 deletions
|
@ -208,7 +208,11 @@ module NewGestionnaire
|
|||
end
|
||||
|
||||
def procedure_presentation
|
||||
@procedure_presentation ||= current_gestionnaire.procedure_presentation_for_procedure_id(params[:procedure_id])
|
||||
@procedure_presentation ||= get_procedure_presentation
|
||||
end
|
||||
|
||||
def get_procedure_presentation
|
||||
current_gestionnaire.procedure_presentation_for_procedure_id(params[:procedure_id])
|
||||
end
|
||||
|
||||
def displayed_fields_values
|
||||
|
|
Loading…
Reference in a new issue