[#2604] Extract method in ProceduresController

This commit is contained in:
Frederic Merizen 2018-10-23 10:55:59 +02:00
parent 9dad0c6e14
commit dd80cc280a

View file

@ -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