12 lines
279 B
Ruby
12 lines
279 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module InstructeurConcern
|
||
|
extend ActiveSupport::Concern
|
||
|
|
||
|
included do
|
||
|
def retrieve_procedure_presentation
|
||
|
@procedure_presentation ||= current_instructeur.procedure_presentation_for_procedure_id(params[:procedure_id])
|
||
|
end
|
||
|
end
|
||
|
end
|