Class: WithStudentPathNavigation::RevisitNavigation
- Inherits:
-
Navigation
- Object
- Navigation
- WithStudentPathNavigation::RevisitNavigation
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
#clazz ⇒ Object
15
16
17
|
# File 'app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb', line 15
def clazz
'btn btn-warning w-100'
end
|
#icon ⇒ Object
7
8
9
|
# File 'app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb', line 7
def icon
'chevron-right'
end
|
#key ⇒ Object
11
12
13
|
# File 'app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb', line 11
def key
:navigation_revisit
end
|
#right ⇒ Object
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
|