fix question update as teacher

This commit is contained in:
2022-10-17 10:06:03 -03:00
parent 6732308631
commit d755d72603
4 changed files with 23 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ class ApplicationPolicy
end
def is?(role)
@roles.any?(role)
@roles.any?(role.to_s)
end
def index?