/**
* @Route("/howto", name="howto")
*/
- public function howtoAction()
- {
- return $this->render(
- 'WallabagCoreBundle:Static:howto.html.twig',
- array()
- );
- }
+ public function howtoAction()
+ {
+ $addonsUrl = $this->container->getParameter('addons_url');
+
+ return $this->render(
+ 'WallabagCoreBundle:Static:howto.html.twig',
+ ['addonsUrl' => $addonsUrl]
+ );
+ }
+
/**
* @Route("/about", name="about")
*/
{
return $this->render(
'WallabagCoreBundle:Static:about.html.twig',
- array()
+ [
+ 'version' => $this->getParameter('wallabag_core.version'),
+ 'paypal_url' => $this->getParameter('wallabag_core.paypal_url'),
+ ]
);
}
/**
- * @Route("/", name="homepage")
+ * @Route("/quickstart", name="quickstart")
*/
- public function apiAction()
+ public function quickstartAction()
{
- return $this->redirect($this->generateUrl('nelmio_api_doc_index'));
+ return $this->render(
+ 'WallabagCoreBundle:Static:quickstart.html.twig',
+ []
+ );
}
}