@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | // Non-localized, generic routes (such as those for admin panel etc). |
43 | 43 | //----------------------------------------------------------------------- |
44 | 44 | |
45 | - $router->group(['namespace' => $this->namespace], function (Router $router) { |
|
45 | + $router->group(['namespace' => $this->namespace], function(Router $router) { |
|
46 | 46 | $router->get('/oauth/{provider}', 'Users\AuthController@getOAuth'); |
47 | 47 | |
48 | 48 | $router->controllers([ |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | // Set localized routers. |
69 | - $router->group(compact('namespace', 'middleware', 'prefix'), function (Router $router) use ($prefix) { |
|
69 | + $router->group(compact('namespace', 'middleware', 'prefix'), function(Router $router) use ($prefix) { |
|
70 | 70 | $this->localizedRoutes($router, $prefix); |
71 | 71 | }); |
72 | 72 | } |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | //------------------------------------------------ |
77 | 77 | |
78 | 78 | app('translator')->setLocale($defaultLocale); |
79 | - $router->group(compact('namespace'), function (Router $router) use ($defaultLocale) { |
|
79 | + $router->group(compact('namespace'), function(Router $router) use ($defaultLocale) { |
|
80 | 80 | $this->localizedRoutes($router, $defaultLocale); |
81 | 81 | }); |
82 | 82 | } |