Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
judus committed Feb 13, 2018
1 parent 4320300 commit 6682a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ App::respond(function () {

Router::get('space-game-data/(:num)/(:num)', function ($characterId, $levelId) {
return [
PlayerCharacter::with(['sprite', 'trait'])->getById($characterId),
LevelSpec::with('sprite', 'enemy.trait')->getById($levelId)
Character::with('sprite', 'trait')->getById($characterId),
LevelSpec::with('sprite', 'entity.trait')->getById($levelId)
];
});
}
Expand Down

0 comments on commit 6682a5f

Please sign in to comment.