From e10c1a755128bd94f704c4bd0a3763299349819f Mon Sep 17 00:00:00 2001 From: Sean Tymon Date: Fri, 31 Oct 2014 15:25:16 +0000 Subject: [PATCH] tweaking example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b66dd8ea..81157249f 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ Alternatively, you can use the included `jwt-auth` route filter. It includes som ```php Route::post('me', ['before' => 'jwt-auth', function() { - $user = JWTAuth::getToken()->toUser(); + $user = JWTAuth::parseToken()->toUser(); return Response::json(compact('user')); }]);