Module: WithStudentPathNavigation
- Included in:
- ApplicationHelper
- Defined in:
- app/helpers/concerns/with_student_path_navigation.rb,
app/helpers/concerns/with_student_path_navigation/navigation.rb,
app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb,
app/helpers/concerns/with_student_path_navigation/continue_navigation.rb
Defined Under Namespace
Classes: ContinueNavigation, Navigation, RevisitNavigation
Instance Method Summary
collapse
Instance Method Details
11
12
13
|
# File 'app/helpers/concerns/with_student_path_navigation.rb', line 11
def next_exercise_button(exercise)
next_button(exercise) || next_button(exercise.guide.lesson)
end
|
7
8
9
|
# File 'app/helpers/concerns/with_student_path_navigation.rb', line 7
def next_lesson_button(guide)
next_button(guide.lesson) || chapter_finished(guide.chapter)
end
|