Fixed syntax error

This commit is contained in:
Marcin Kurczewski 2014-11-21 21:59:03 +01:00
parent bd33b09f7b
commit 9621810332

View file

@ -35,7 +35,7 @@ class GetPost extends AbstractPostRoute
{
$this->privilegeService->assertPrivilege(Privilege::VIEW_POSTS);
$post = $this->postService->getByNameOrId($this->getArgument(postNameOrId));
$post = $this->postService->getByNameOrId($this->getArgument('postNameOrId'));
return $this->postViewProxy->fromEntity($post, $this->getFullFetchConfig());
}
}