@@ -3,7 +3,7 @@ |
||
3 | 3 | * Same configuration as Laravel 5.2: |
4 | 4 | * See https://github.com/laravel/framework/blob/5.2/src/Illuminate/Auth/Console/stubs/make/routes.stub |
5 | 5 | */ |
6 | -Route::group(['middleware' => 'web'], function () { |
|
6 | +Route::group([ 'middleware' => 'web' ], function() { |
|
7 | 7 | Route::auth(); |
8 | 8 | |
9 | 9 | Route::get('/home', 'HomeController@index'); |
@@ -29,11 +29,11 @@ |
||
29 | 29 | // parameter represents the DataTables column identifier. In this case simple |
30 | 30 | // indexes |
31 | 31 | $columns = [ |
32 | - ['db' => 'id', 'dt' => 0], |
|
33 | - ['db' => 'firstname', 'dt' => 1], |
|
34 | - ['db' => 'surname', 'dt' => 2], |
|
35 | - ['db' => 'zip', 'dt' => 3], |
|
36 | - ['db' => 'country', 'dt' => 4], |
|
32 | + [ 'db' => 'id', 'dt' => 0 ], |
|
33 | + [ 'db' => 'firstname', 'dt' => 1 ], |
|
34 | + [ 'db' => 'surname', 'dt' => 2 ], |
|
35 | + [ 'db' => 'zip', 'dt' => 3 ], |
|
36 | + [ 'db' => 'country', 'dt' => 4 ], |
|
37 | 37 | ]; |
38 | 38 | |
39 | 39 | // SQL server connection information |
@@ -26,10 +26,10 @@ discard block |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | if ($this->app->runningInConsole()) { |
29 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTE::class]); |
|
29 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTE::class ]); |
|
30 | 30 | } |
31 | 31 | |
32 | - $this->app->bind('AdminLTE', function () { |
|
32 | + $this->app->bind('AdminLTE', function() { |
|
33 | 33 | return new \Acacha\AdminLTETemplateLaravel\AdminLTE(); |
34 | 34 | }); |
35 | 35 | |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | if (!$this->app->routesAreCached()) { |
64 | 64 | $router = app('router'); |
65 | 65 | |
66 | - $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () { |
|
66 | + $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() { |
|
67 | 67 | require __DIR__.'/../Http/routes.php'; |
68 | 68 | }); |
69 | 69 | } |
@@ -136,6 +136,6 @@ discard block |
||
136 | 136 | */ |
137 | 137 | private function publishGravatar() |
138 | 138 | { |
139 | - $this->publishes([realpath(__DIR__.'/../config/gravatar.php') => config_path('gravatar.php')], 'adminlte'); |
|
139 | + $this->publishes([ realpath(__DIR__.'/../config/gravatar.php') => config_path('gravatar.php') ], 'adminlte'); |
|
140 | 140 | } |
141 | 141 | } |