Add exercise feedback page for pair programming study
This commit is contained in:

committed by
Sebastian Serth

parent
79422225a8
commit
4b90a2a3c5
11
app/policies/pair_programming_exercise_feedback_policy.rb
Normal file
11
app/policies/pair_programming_exercise_feedback_policy.rb
Normal file
@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class PairProgrammingExerciseFeedbackPolicy < AdminOnlyPolicy
|
||||
def create?
|
||||
everyone
|
||||
end
|
||||
|
||||
def new?
|
||||
everyone
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user