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

committed by
Sebastian Serth

parent
bf8f7b471c
commit
5ecde8c8bd
@ -11,8 +11,8 @@ class DropErrors < ActiveRecord::Migration[5.2]
|
||||
|
||||
validates :message, presence: true
|
||||
|
||||
def self.nested_resource?
|
||||
true
|
||||
def self.parent_resource
|
||||
ExecutionEnvironment
|
||||
end
|
||||
|
||||
delegate :to_s, to: :id
|
||||
|
Reference in New Issue
Block a user