From 1e0b1fa7ac2ad0ae07591aca296e3ef33839ef5e Mon Sep 17 00:00:00 2001 From: marwolaethblack Date: Fri, 24 Nov 2017 10:48:31 +0100 Subject: add real time data every 60sec --- src/AppBundle/Controller/NewDataController.php | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/AppBundle/Controller/NewDataController.php (limited to 'src/AppBundle/Controller/NewDataController.php') diff --git a/src/AppBundle/Controller/NewDataController.php b/src/AppBundle/Controller/NewDataController.php new file mode 100644 index 0000000..1aacccc --- /dev/null +++ b/src/AppBundle/Controller/NewDataController.php @@ -0,0 +1,45 @@ +headers->set('Content-Type', 'application/json'); + + return $response; + + } + +} \ No newline at end of file -- cgit v1.2.3