token policy fix
This commit is contained in:
parent
c3dbd59280
commit
6f3c74b7f1
1 changed files with 2 additions and 2 deletions
|
@ -10,11 +10,11 @@ class TokenPolicy < ApplicationPolicy
|
|||
end
|
||||
end
|
||||
|
||||
def create?
|
||||
def index?
|
||||
user.present?
|
||||
end
|
||||
|
||||
def my_tokens?
|
||||
def create?
|
||||
user.present?
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue