@@ -28,7 +28,7 @@ |
||
28 | 28 | |
29 | 29 | EventManager::instance()->on( |
30 | 30 | 'Server.buildMiddleware', |
31 | - function ($event, $middleware) { |
|
31 | + function($event, $middleware) { |
|
32 | 32 | $middleware->add(new SubdomainMiddleware()); |
33 | 33 | } |
34 | 34 | ); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | Router::scope( |
23 | 23 | '/', |
24 | 24 | ['prefix' => 'admin'], |
25 | - function ($routes) { |
|
25 | + function($routes) { |
|
26 | 26 | $routes->fallbacks('Multidimensional/Subdomains.SubdomainRoute'); |
27 | 27 | } |
28 | 28 | ); |
@@ -57,7 +57,7 @@ |
||
57 | 57 | $url = ['prefix' => 'users', 'Controller' => 'pages', 'action' => 'index']; |
58 | 58 | $response = $this->SubdomainRoute->parse($url, ''); |
59 | 59 | //assertwrong*/ |
60 | - } |
|
60 | + } |
|
61 | 61 | |
62 | 62 | /** |
63 | 63 | * @return void |