Class: WithStudentPathNavigation::RevisitNavigation
- Inherits:
-
Navigation
show all
- Defined in:
- app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb
Instance Method Summary
collapse
Methods inherited from Navigation
#button, #initialize, #link_icon, #merge_confirmation_classes, #method_missing
Instance Method Details
15
16
17
|
# File 'app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb', line 15
def clazz
'btn btn-warning btn-block'
end
|
7
8
9
|
# File 'app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb', line 7
def icon
'chevron-right'
end
|
11
12
13
|
# File 'app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb', line 11
def key
:navigation_revisit
end
|
3
4
5
|
# File 'app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb', line 3
def right
true
end
|
#sibling_for(navigable) ⇒ Object
19
20
21
|
# File 'app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb', line 19
def sibling_for(navigable)
navigable.restart(current_user)
end
|