diff --git a/brain/controller/APIControl.php b/brain/controller/APIControl.php index dd60058..c9d253a 100644 --- a/brain/controller/APIControl.php +++ b/brain/controller/APIControl.php @@ -226,6 +226,8 @@ class APIControl break; } + var_dump($result); + $response->getBody()->write(json_encode($result)); return $response->withHeader('Content-Type', 'application/json'); } diff --git a/brain/controller/RouteControl.php b/brain/controller/RouteControl.php index ab75386..3ceaa26 100644 --- a/brain/controller/RouteControl.php +++ b/brain/controller/RouteControl.php @@ -34,7 +34,6 @@ class RouteControl switch (isset($args['first']) ? $args['first'] : 'index') { case 'api': //$result = APIControl::post($request, $response, $args); - //var_dump($result); return APIControl::post($request, $response, $args); break; default: diff --git a/brain/views/dash/_frame.old.twig b/brain/views/dash/_frame.old.twig new file mode 100644 index 0000000..4f96798 --- /dev/null +++ b/brain/views/dash/_frame.old.twig @@ -0,0 +1,66 @@ + + +
+ + +