review points

This commit is contained in:
Karol
2019-12-16 17:38:32 +01:00
parent 1ddd6e19f5
commit da8d31279c
5 changed files with 16 additions and 46 deletions

View File

@ -8,11 +8,11 @@ class CodeharborLinkPolicy < ApplicationPolicy
end
def new?
teacher?
teacher? || admin?
end
def create?
teacher?
teacher? || admin?
end
def edit?