| @@ -3,10 +3,10 @@ discard block | ||
| 3 | 3 | |
| 4 | 4 | class Grid extends \erdiko\Controller | 
| 5 | 5 |  {    | 
| 6 | - public function __invoke($request, $response, $args) | |
| 7 | -	{ | |
| 6 | + public function __invoke($request, $response, $args) | |
| 7 | +    { | |
| 8 | 8 |          $this->container->logger->debug("/controller"); | 
| 9 | - $view = 'pages/grid.html'; | |
| 9 | + $view = 'pages/grid.html'; | |
| 10 | 10 | |
| 11 | 11 | // Get erdiko config, this gets application.json and loads the theme specified | 
| 12 | 12 | $config = \erdiko\theme\Config::get(); | 
| @@ -29,6 +29,6 @@ discard block | ||
| 29 | 29 | } | 
| 30 | 30 | $config['items'] = $items; | 
| 31 | 31 | |
| 32 | - return $this->container->theme->render($response, $view, $config); | |
| 33 | - } | |
| 32 | + return $this->container->theme->render($response, $view, $config); | |
| 33 | + } | |
| 34 | 34 | } | 
| 35 | 35 | \ No newline at end of file | 
| @@ -3,10 +3,10 @@ discard block | ||
| 3 | 3 | |
| 4 | 4 | class Config extends \erdiko\Controller | 
| 5 | 5 |  {   | 
| 6 | - public function __invoke($request, $response, $args) | |
| 7 | -	{ | |
| 6 | + public function __invoke($request, $response, $args) | |
| 7 | +    { | |
| 8 | 8 |          $this->container->logger->debug("route: /config"); | 
| 9 | - $view = 'pages/config.html'; | |
| 9 | + $view = 'pages/config.html'; | |
| 10 | 10 | |
| 11 | 11 | // Get erdiko config, this gets application.json and loads the theme specified | 
| 12 | 12 | $config = \erdiko\theme\Config::get(); | 
| @@ -16,6 +16,6 @@ discard block | ||
| 16 | 16 | // $theme->title = "Dump Config"; | 
| 17 | 17 | // (array)$theme; Config::get(), ['page'] = array(); | 
| 18 | 18 | |
| 19 | - return $this->container->theme->render($response, $view, $config); | |
| 20 | - } | |
| 19 | + return $this->container->theme->render($response, $view, $config); | |
| 20 | + } | |
| 21 | 21 | } | 
| 22 | 22 | \ No newline at end of file |