* @param Request $request
*
* @Route("/developer", name="developer")
+ *
+ * @return \Symfony\Component\HttpFoundation\Response
*/
public function indexAction(Request $request)
{
* @param Request $request
*
* @Route("/developer/client/create", name="create_client")
+ *
+ * @return \Symfony\Component\HttpFoundation\Response
*/
public function createClientAction(Request $request)
{
return $this->render('WallabagCoreBundle:Developer:client.html.twig', array(
'client_id' => $client->getPublicId(),
+ 'client_secret' => $client->getSecret(),
));
}
+
+ /**
+ * @param Request $request
+ *
+ * @Route("/developer/howto/first-app", name="howto-firstapp")
+ *
+ * @return \Symfony\Component\HttpFoundation\Response
+ */
+ public function howtoFirstAppAction(Request $request)
+ {
+ return $this->render('WallabagCoreBundle:Developer:howto_app.html.twig');
+ }
}