Properly nest UserExerciseFeedback
Fixes CODEOCEAN-108
This commit is contained in:

committed by
Sebastian Serth

parent
b43dfa364e
commit
e9f099d59f
@ -22,4 +22,8 @@ class UserExerciseFeedback < ApplicationRecord
|
||||
.order(created_at: :desc)
|
||||
.first
|
||||
end
|
||||
|
||||
def self.parent_resource
|
||||
Exercise
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user