mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-10 19:32:07 +00:00
Move templates
This commit is contained in:
parent
3c1a183e2d
commit
664b4baa3e
90 changed files with 119 additions and 118 deletions
|
@ -67,7 +67,7 @@ class UserController extends AbstractController
|
|||
return $this->redirectToRoute('user_edit', ['id' => $user->getId()]);
|
||||
}
|
||||
|
||||
return $this->render('@WallabagCore/User/new.html.twig', [
|
||||
return $this->render('User/new.html.twig', [
|
||||
'user' => $user,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
|
@ -108,7 +108,7 @@ class UserController extends AbstractController
|
|||
return $this->redirectToRoute('user_edit', ['id' => $user->getId()]);
|
||||
}
|
||||
|
||||
return $this->render('@WallabagCore/User/edit.html.twig', [
|
||||
return $this->render('User/edit.html.twig', [
|
||||
'user' => $user,
|
||||
'edit_form' => $form->createView(),
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
|
@ -173,7 +173,7 @@ class UserController extends AbstractController
|
|||
}
|
||||
}
|
||||
|
||||
return $this->render('@WallabagCore/User/index.html.twig', [
|
||||
return $this->render('User/index.html.twig', [
|
||||
'searchForm' => $form->createView(),
|
||||
'users' => $pagerFanta,
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue