change order reservation

This commit is contained in:
phyusin
2018-04-27 13:47:54 +06:30
parent 172c2136cc
commit 11473c7fcd
9 changed files with 100 additions and 31 deletions

View File

@@ -24,8 +24,7 @@ module TokenVerification
end
end
@user = Employee.
(token)
@user = Employee.authenticate_by_token(token)
if @user
return true
#Maybe log - login?