aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-10-09 16:45:09 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-10-09 16:45:12 +0200
commitf40c88eb1fa349aab600f9c1c94364f317fe62dd (patch)
tree4f57a7b2d5124541c4bc916a38d9dab262737db0 /src/Wallabag/ApiBundle/Controller/WallabagRestController.php
parented5e175c200501e2ee115ff5d8cd3f3ea47a1c2f (diff)
downloadwallabag-f40c88eb1fa349aab600f9c1c94364f317fe62dd.tar.gz
wallabag-f40c88eb1fa349aab600f9c1c94364f317fe62dd.tar.zst
wallabag-f40c88eb1fa349aab600f9c1c94364f317fe62dd.zip
Jump to Symfony 3.3 & update others deps
Also update tests urls
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/WallabagRestController.php')
-rw-r--r--src/Wallabag/ApiBundle/Controller/WallabagRestController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
index 71da2a64..7d8cfbba 100644
--- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
+++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
@@ -19,7 +19,7 @@ class WallabagRestController extends FOSRestController
19 public function getVersionAction() 19 public function getVersionAction()
20 { 20 {
21 $version = $this->container->getParameter('wallabag_core.version'); 21 $version = $this->container->getParameter('wallabag_core.version');
22 $json = $this->get('serializer')->serialize($version, 'json'); 22 $json = $this->get('jms_serializer')->serialize($version, 'json');
23 23
24 return (new JsonResponse())->setJson($json); 24 return (new JsonResponse())->setJson($json);
25 } 25 }