@@ -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,14 +3,14 @@ |
||
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 | $config['theme'] = \erdiko\theme\Config::get($this->container->get('settings')['theme']); |
12 | 12 | $config['page']['title'] = "Dump Theme Config"; |
13 | 13 | |
14 | - return $this->container->theme->render($response, $view, $config); |
|
15 | - } |
|
14 | + return $this->container->theme->render($response, $view, $config); |
|
15 | + } |
|
16 | 16 | } |
@@ -101,22 +101,22 @@ |
||
101 | 101 | |
102 | 102 | public function getCreatedAt() |
103 | 103 | { |
104 | - return $this->created_at; |
|
104 | + return $this->created_at; |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | public function setCreatedAt($created) |
108 | 108 | { |
109 | - $this->created_at = $created; |
|
109 | + $this->created_at = $created; |
|
110 | 110 | } |
111 | 111 | |
112 | 112 | public function getUpdatedAt() |
113 | 113 | { |
114 | - return $this->updated_at; |
|
114 | + return $this->updated_at; |
|
115 | 115 | } |
116 | 116 | |
117 | 117 | public function setUpdatedAt($updated) |
118 | 118 | { |
119 | - $this->updated_at = $updated; |
|
119 | + $this->updated_at = $updated; |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | /** |