diff --git a/src/Skobkin/Bundle/PointToolsBundle/Controller/PostController.php b/src/Skobkin/Bundle/PointToolsBundle/Controller/PostController.php index 97816f8..6c5d828 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Controller/PostController.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Controller/PostController.php @@ -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()), ]);