@@ -17,9 +17,9 @@ |
||
17 | 17 | 'annotation' => ['Rudra\Annotations'], |
18 | 18 | 'validation' => ['Rudra\Validation'], |
19 | 19 | 'auth' => ['Rudra\Auth'], |
20 | - 'redirect' => ['Rudra\Redirect', ['config' => Container::$app->config('uri')]], |
|
20 | + 'redirect' => ['Rudra\Redirect', ['config' => Container::$app->config('uri')]], |
|
21 | 21 | 'dbClass' => ['Rudra\ConnectDB', ['config' => Container::$app->config('database')]], |
22 | - 'router' => ['Rudra\Router', ['namespace' => Container::$app->config('namespaces', 'default'), 'templateEngine' => Container::$app->config('template.engine')]], |
|
22 | + 'router' => ['Rudra\Router', ['namespace' => Container::$app->config('namespaces', 'default'), 'templateEngine' => Container::$app->config('template.engine')]], |
|
23 | 23 | 'route' => ['App\Route'] |
24 | 24 | ] |
25 | 25 | ]; |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | $router->setNamespace($namespace); |
15 | 15 | |
16 | - $router->annotation('MainController'); // mainpage |
|
16 | + $router->annotation('MainController'); // mainpage |
|
17 | 17 | |
18 | 18 | $router->middleware('get', [ |
19 | 19 | 'pattern' => '123/123', |