[#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
|
end
|
||||||
|
|
||||||
def procedure_presentation
|
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
|
end
|
||||||
|
|
||||||
def displayed_fields_values
|
def displayed_fields_values
|
||||||
|
|
Loading…
Add table
Reference in a new issue