mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-22 17:18:37 +00:00
Migrate first level template references to new notation
This commit is contained in:
parent
10f1bc5506
commit
9549a90e76
32 changed files with 50 additions and 50 deletions
|
@ -133,7 +133,7 @@ class EntryController extends Controller
|
|||
return $this->showEntries('search', $request, $page);
|
||||
}
|
||||
|
||||
return $this->render('WallabagCoreBundle:Entry:search_form.html.twig', [
|
||||
return $this->render('@WallabagCore/Entry/search_form.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'currentRoute' => $currentRoute,
|
||||
]);
|
||||
|
@ -176,7 +176,7 @@ class EntryController extends Controller
|
|||
return $this->redirect($this->generateUrl('homepage'));
|
||||
}
|
||||
|
||||
return $this->render('WallabagCoreBundle:Entry:new_form.html.twig', [
|
||||
return $this->render('@WallabagCore/Entry/new_form.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
}
|
||||
|
@ -212,7 +212,7 @@ class EntryController extends Controller
|
|||
*/
|
||||
public function addEntryAction()
|
||||
{
|
||||
return $this->render('WallabagCoreBundle:Entry:new.html.twig');
|
||||
return $this->render('@WallabagCore/Entry/new.html.twig');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -243,7 +243,7 @@ class EntryController extends Controller
|
|||
return $this->redirect($this->generateUrl('view', ['id' => $entry->getId()]));
|
||||
}
|
||||
|
||||
return $this->render('WallabagCoreBundle:Entry:edit.html.twig', [
|
||||
return $this->render('@WallabagCore/Entry/edit.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
}
|
||||
|
@ -374,7 +374,7 @@ class EntryController extends Controller
|
|||
$this->checkUserAction($entry);
|
||||
|
||||
return $this->render(
|
||||
'WallabagCoreBundle:Entry:entry.html.twig',
|
||||
'@WallabagCore/Entry/entry.html.twig',
|
||||
['entry' => $entry]
|
||||
);
|
||||
}
|
||||
|
@ -666,7 +666,7 @@ class EntryController extends Controller
|
|||
->countUntaggedEntriesByUser($this->getUser()->getId());
|
||||
|
||||
return $this->render(
|
||||
'WallabagCoreBundle:Entry:entries.html.twig', [
|
||||
'@WallabagCore/Entry/entries.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'entries' => $entries,
|
||||
'currentPage' => $page,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue