PostController code quality fix.
This commit is contained in:
parent
7776b1ac74
commit
a9a247ba45
|
@ -17,8 +17,6 @@ class PostController extends Controller
|
|||
*/
|
||||
public function showAction(Post $post)
|
||||
{
|
||||
$userApi = $this->container->get('skobkin_point_tools.api_user');
|
||||
|
||||
return $this->render('SkobkinPointToolsBundle:Post:show.html.twig', [
|
||||
'post' => $this->getDoctrine()->getRepository('SkobkinPointToolsBundle:Blogs\Post')->getPostWithComments($post->getId()),
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue