public function issuePageAction(Request $request, $id) { $em = $this->getDoctrine()->getManager(); $currentHost = $request->getHttpHost(); $journal = $em->getRepository(Journal::class)->findOneBy(array('domain' => $currentHost, 'status' => JournalStatuses::STATUS_PUBLISHED)); $this->throw404IfNotFound($journal); $response = $this->forward('OjsSiteBundle:Issue:issuePage', array('id' => $id, 'isJournalHosting' => true)); return $response; }