]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Controller/StaticController.php
Add CraueConfig for internal settings
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / StaticController.php
index 0fd19d6529859f6e480b9b8d56af2bfbc1b95c41..5b7bd56edc87079bafe43c39e5d27699571d518c 100644 (file)
@@ -7,6 +7,17 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller;
 
 class StaticController extends Controller
 {
+    /**
+     * @Route("/howto", name="howto")
+     */
+    public function howtoAction()
+    {
+        return $this->render(
+            'WallabagCoreBundle:Static:howto.html.twig',
+            array()
+        );
+    }
+
     /**
      * @Route("/about", name="about")
      */
@@ -14,6 +25,20 @@ class StaticController extends Controller
     {
         return $this->render(
             'WallabagCoreBundle:Static:about.html.twig',
+            array(
+                'version' => $this->getParameter('wallabag_core.version'),
+                'paypal_url' => $this->getParameter('wallabag_core.paypal_url'),
+            )
+        );
+    }
+
+    /**
+     * @Route("/quickstart", name="quickstart")
+     */
+    public function quickstartAction()
+    {
+        return $this->render(
+            'WallabagCoreBundle:Static:quickstart.html.twig',
             array()
         );
     }