Skip to content

Commit

Permalink
Merge pull request #29 from MisatoTremor/symfony_4.0
Browse files Browse the repository at this point in the history
Fix template paths for SF4
  • Loading branch information
MisatoTremor authored Mar 2, 2018
2 parents 8a18d70 + 08794e2 commit 15b1a56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controller/ImportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function uploadAction($alias)

$form = $this->container->get('form.factory')->create(ImportFormType::class, null, array('field_choices' => $fieldChoices));

return $this->container->get('templating')->renderResponse('AvroCsvBundle:Import:upload.html.twig', array(
return $this->container->get('templating')->renderResponse('@AvroCsvBundle/Import/upload.html.twig', array(
'form' => $form->createView(),
'alias' => $alias,
));
Expand Down Expand Up @@ -79,7 +79,7 @@ public function mappingAction(Request $request, $alias)

$rows = $reader->getRows($this->container->getParameter('avro_csv.sample_count'));

return $this->container->get('templating')->renderResponse('AvroCsvBundle:Import:mapping.html.twig', array(
return $this->container->get('templating')->renderResponse('@AvroCsvBundle/Import/mapping.html.twig', array(
'form' => $form->createView(),
'alias' => $alias,
'headers' => array_combine((array) $headers, (array) $fileHeaders),
Expand Down

0 comments on commit 15b1a56

Please sign in to comment.