Migrate first level template references to new notation

This commit is contained in:
Yassine Guedidi
2022-04-29 00:47:22 +02:00
parent 10f1bc5506
commit 9549a90e76
32 changed files with 50 additions and 50 deletions

View File

@ -14,7 +14,7 @@ class ImportController extends Controller
*/
public function importAction()
{
return $this->render('WallabagImportBundle:Import:index.html.twig', [
return $this->render('@WallabagImport/Import/index.html.twig', [
'imports' => $this->get(ImportChain::class)->getAll(),
]);
}
@ -31,7 +31,7 @@ class ImportController extends Controller
$rabbitNotInstalled = false;
if (!$this->get('security.authorization_checker')->isGranted('ROLE_SUPER_ADMIN')) {
return $this->render('WallabagImportBundle:Import:check_queue.html.twig');
return $this->render('@WallabagImport/Import/check_queue.html.twig');
}
if ($this->get('craue_config')->get('import_with_rabbitmq')) {
@ -71,7 +71,7 @@ class ImportController extends Controller
}
}
return $this->render('WallabagImportBundle:Import:check_queue.html.twig', [
return $this->render('@WallabagImport/Import/check_queue.html.twig', [
'nbRedisMessages' => $nbRedisMessages,
'nbRabbitMessages' => $nbRabbitMessages,
'redisNotInstalled' => $redisNotInstalled,