Remove outdated methods from RequestForCommentPolicy

This commit is contained in:
Sebastian Serth
2023-02-20 23:25:47 +01:00
parent d0717fb178
commit 34c387c6a1

View File

@ -5,10 +5,6 @@ class RequestForCommentPolicy < ApplicationPolicy
everyone
end
def search?
everyone
end
def show?
admin? || rfc_visibility
end
@ -37,10 +33,6 @@ class RequestForCommentPolicy < ApplicationPolicy
everyone
end
def create_comment_exercise?
everyone
end
def my_comment_requests?
everyone
end