Properly nest UserExerciseFeedback

Fixes CODEOCEAN-108
This commit is contained in:
Sebastian Serth
2023-11-23 01:08:28 +01:00
committed by Sebastian Serth
parent b43dfa364e
commit e9f099d59f
7 changed files with 41 additions and 40 deletions

View File

@ -22,4 +22,8 @@ class UserExerciseFeedback < ApplicationRecord
.order(created_at: :desc)
.first
end
def self.parent_resource
Exercise
end
end