Skip to content

Commit

Permalink
Fix bundle template namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
MisatoTremor committed Mar 2, 2018
1 parent 15b1a56 commit 10329c8
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('@AvroCsv/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('@AvroCsv/Import/mapping.html.twig', array(
'form' => $form->createView(),
'alias' => $alias,
'headers' => array_combine((array) $headers, (array) $fileHeaders),
Expand Down

0 comments on commit 10329c8

Please sign in to comment.