@@ -44,11 +44,11 @@ discard block |
||
| 44 | 44 | $container = $this->app()->getContainer(); |
| 45 | 45 | |
| 46 | 46 | $module = $this; |
| 47 | - $container['charcoal/admin/module'] = function ($c) use ($module) { |
|
| 47 | + $container['charcoal/admin/module'] = function($c) use ($module) { |
|
| 48 | 48 | return $module; |
| 49 | 49 | }; |
| 50 | 50 | |
| 51 | - $container['charcoal/admin/config'] = function ($c) { |
|
| 51 | + $container['charcoal/admin/config'] = function($c) { |
|
| 52 | 52 | $config = new AdminConfig(); |
| 53 | 53 | |
| 54 | 54 | if ($c['config']->has('admin')) { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | if (isset($config['routes']['default_view'])) { |
| 68 | 68 | $this->app()->get( |
| 69 | 69 | $group, |
| 70 | - function (RequestInterface $request, ResponseInterface $response) use ($group, $config) { |
|
| 70 | + function(RequestInterface $request, ResponseInterface $response) use ($group, $config) { |
|
| 71 | 71 | return $response->withRedirect( |
| 72 | 72 | $group.'/'.ltrim($config['routes']['default_view'], '/'), |
| 73 | 73 | 303 |