Module: Course::AssessmentConditionalConcern

Extended by:
ActiveSupport::Concern
Included in:
Course::Assessment::Condition::AchievementsController, Course::Assessment::Condition::AssessmentsController, Course::Assessment::Condition::LevelsController
Defined in:
app/controllers/concerns/course/assessment_conditional_concern.rb

Instance Method Summary collapse

Instance Method Details

#return_to_pathObject


9
10
11
# File 'app/controllers/concerns/course/assessment_conditional_concern.rb', line 9

def return_to_path
  edit_course_assessment_path(current_course, @conditional)
end

#set_conditionalObject


13
14
15
# File 'app/controllers/concerns/course/assessment_conditional_concern.rb', line 13

def set_conditional
  @conditional = Course::Assessment.find(conditional_params[:assessment_id])
end