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

committed by
Sebastian Serth

parent
b43dfa364e
commit
e9f099d59f
@ -8,4 +8,9 @@ class UserExerciseFeedbackPolicy < AdminOrAuthorPolicy
|
||||
def new?
|
||||
everyone
|
||||
end
|
||||
|
||||
def show?
|
||||
# We don't have a show action, so no one can show a UserExerciseFeedback directly.
|
||||
no_one
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user