diff --git a/Controller/DefaultController.php b/Controller/DefaultController.php index 4977bf4..97f2a80 100644 --- a/Controller/DefaultController.php +++ b/Controller/DefaultController.php @@ -56,7 +56,7 @@ public function addAction(Request $request) return $this->redirect($this->generateUrl('BCCCronManagerBundle_index')); } - return $this->render('@BCCCronManager:Default:index.html.twig', array( + return $this->render('@BCCCronManager/Default/index.html.twig', array( 'crons' => $cm->get(), 'raw' => $cm->getRaw(), 'form' => $form->createView(), @@ -87,7 +87,7 @@ public function editAction($id, Request $request) return $this->redirect($this->generateUrl('BCCCronManagerBundle_index')); } - return $this->render('@BCCCronManager:Default:edit.html.twig', array( + return $this->render('@BCCCronManager/Default/edit.html.twig', array( 'form' => $form->createView(), )); } diff --git a/Resources/views/Default/edit.html.twig b/Resources/views/Default/edit.html.twig index 5e1ba8b..4416d05 100644 --- a/Resources/views/Default/edit.html.twig +++ b/Resources/views/Default/edit.html.twig @@ -6,7 +6,7 @@

{{ 'Edit a cron' | trans({}, 'BCCCronManagerBundle') }}

- {% include 'BCCCronManagerBundle:Default:form.html.twig' with {'form': form} %} + {% include 'BCCCronManagerBundle/Default/form.html.twig' with {'form': form} %}