Skip to content

Commit

Permalink
tweaking example
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Oct 31, 2014
1 parent 508986c commit e10c1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}]);
Expand Down

0 comments on commit e10c1a7

Please sign in to comment.