@@ -8,21 +8,21 @@ |
||
8 | 8 | class IndexController extends BaseController { |
9 | 9 | |
10 | 10 | |
11 | - /** |
|
12 | - * Return index page (/) |
|
13 | - * |
|
14 | - * @param array $args |
|
15 | - * @return Response |
|
16 | - */ |
|
17 | - public function get($args) { |
|
11 | + /** |
|
12 | + * Return index page (/) |
|
13 | + * |
|
14 | + * @param array $args |
|
15 | + * @return Response |
|
16 | + */ |
|
17 | + public function get($args) { |
|
18 | 18 | |
19 | - $result = \App::getModule(UserList::class,[ |
|
20 | - "limit" => 2 |
|
21 | - ]); |
|
19 | + $result = \App::getModule(UserList::class,[ |
|
20 | + "limit" => 2 |
|
21 | + ]); |
|
22 | 22 | |
23 | - return $this->render('pages/index.html.twig', [ |
|
24 | - "content" => $result, |
|
25 | - ]); |
|
26 | - } |
|
23 | + return $this->render('pages/index.html.twig', [ |
|
24 | + "content" => $result, |
|
25 | + ]); |
|
26 | + } |
|
27 | 27 | |
28 | 28 | } |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | public function get($args) { |
18 | 18 | |
19 | - $result = \App::getModule(UserList::class,[ |
|
19 | + $result = \App::getModule(UserList::class, [ |
|
20 | 20 | "limit" => 2 |
21 | 21 | ]); |
22 | 22 |