1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-12 16:58:37 +00:00

Removed duplicated templates files

This commit is contained in:
Nicolas Lœuillet 2016-09-30 09:38:08 +02:00
parent fb479be3a0
commit 2ff9991a1d
No known key found for this signature in database
GPG key ID: 5656BE27E1E34D0A
26 changed files with 18 additions and 494 deletions

View file

@ -21,7 +21,7 @@ class DeveloperController extends Controller
{
$clients = $this->getDoctrine()->getRepository('WallabagApiBundle:Client')->findAll();
return $this->render('WallabagCoreBundle:Developer:index.html.twig', [
return $this->render('@WallabagCore/themes/common/Developer/index.html.twig', [
'clients' => $clients,
]);
}
@ -52,14 +52,14 @@ class DeveloperController extends Controller
$this->get('translator')->trans('flashes.developer.notice.client_created', ['%name%' => $client->getName()])
);
return $this->render('WallabagCoreBundle:Developer:client_parameters.html.twig', [
return $this->render('@WallabagCore/themes/common/Developer/client_parameters.html.twig', [
'client_id' => $client->getPublicId(),
'client_secret' => $client->getSecret(),
'client_name' => $client->getName(),
]);
}
return $this->render('WallabagCoreBundle:Developer:client.html.twig', [
return $this->render('@WallabagCore/themes/common/Developer/client.html.twig', [
'form' => $clientForm->createView(),
]);
}
@ -96,6 +96,6 @@ class DeveloperController extends Controller
*/
public function howtoFirstAppAction()
{
return $this->render('WallabagCoreBundle:Developer:howto_app.html.twig');
return $this->render('@WallabagCore/themes/common/Developer/howto_app.html.twig');
}
}