Generalize breadcrumbs for nested resources
* Make programming groups breadcrumb navigation clickable
This commit is contained in:

committed by
Sebastian Serth

parent
bf8f7b471c
commit
5ecde8c8bd
@ -28,8 +28,8 @@ class ProgrammingGroup < ApplicationRecord
|
||||
false
|
||||
end
|
||||
|
||||
def self.nested_resource?
|
||||
true
|
||||
def self.parent_resource
|
||||
Exercise
|
||||
end
|
||||
|
||||
def programming_group?
|
||||
|
Reference in New Issue
Block a user