Test Setup Failed
Push — master ( 48087c...b5f37b )
by Mauro
02:42
created
app/routes.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,13 +3,13 @@  discard block
 block discarded – undo
3 3
 $app->get('/', '\App\Controller\DefaultController:getHelp');
4 4
 $app->get('/version', '\App\Controller\DefaultController:getVersion');
5 5
 $app->get('/status', '\App\Controller\DefaultController:getStatus');
6
-$app->get('/test', function ($request, $response, $args) {
6
+$app->get('/test', function($request, $response, $args) {
7 7
     // Show book identified by $args['id']
8 8
     var_dump('hello'); exit;
9 9
 });
10 10
 
11
-$app->group('/api/v1', function () use ($app) {
12
-    $app->group('/tasks', function () use ($app) {
11
+$app->group('/api/v1', function() use ($app) {
12
+    $app->group('/tasks', function() use ($app) {
13 13
         $app->get('', 'App\Controller\Task\GetAllTasks');
14 14
         $app->get('/[{id}]', 'App\Controller\Task\GetOneTask');
15 15
         $app->get('/search/[{query}]', 'App\Controller\Task\SearchTasks');
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         $app->put('/[{id}]', 'App\Controller\Task\UpdateTask');
18 18
         $app->delete('/[{id}]', 'App\Controller\Task\DeleteTask');
19 19
     });
20
-    $app->group('/users', function () use ($app) {
20
+    $app->group('/users', function() use ($app) {
21 21
         $app->get('', 'App\Controller\User\GetAllUsers');
22 22
         $app->get('/[{id}]', 'App\Controller\User\GetOneUser');
23 23
         $app->get('/search/[{query}]', 'App\Controller\User\SearchUsers');
Please login to merge, or discard this patch.