@@ -26,25 +26,25 @@ discard block |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | if ($this->app->runningInConsole()) { |
29 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTE::class]); |
|
30 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTEAlt::class]); |
|
31 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebar::class]); |
|
32 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebarAlt::class]); |
|
33 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeAdminUserSeeder::class]); |
|
34 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdmin::class]); |
|
35 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdminAlt::class]); |
|
36 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeView::class]); |
|
37 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenu::class]); |
|
38 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenuAlt::class]); |
|
39 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeRoute::class]); |
|
40 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeMenu::class]); |
|
41 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeV::class]); |
|
42 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeVC::class]); |
|
43 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeMVC::class]); |
|
44 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\Username::class]); |
|
29 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTE::class ]); |
|
30 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTEAlt::class ]); |
|
31 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebar::class ]); |
|
32 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebarAlt::class ]); |
|
33 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeAdminUserSeeder::class ]); |
|
34 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdmin::class ]); |
|
35 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdminAlt::class ]); |
|
36 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeView::class ]); |
|
37 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenu::class ]); |
|
38 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenuAlt::class ]); |
|
39 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeRoute::class ]); |
|
40 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeMenu::class ]); |
|
41 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeV::class ]); |
|
42 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeVC::class ]); |
|
43 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeMVC::class ]); |
|
44 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\Username::class ]); |
|
45 | 45 | } |
46 | 46 | |
47 | - $this->app->bind('AdminLTE', function () { |
|
47 | + $this->app->bind('AdminLTE', function() { |
|
48 | 48 | return new \Acacha\AdminLTETemplateLaravel\AdminLTE(); |
49 | 49 | }); |
50 | 50 | |
@@ -52,9 +52,9 @@ discard block |
||
52 | 52 | $this->registerGravatarServiceProvider(); |
53 | 53 | } |
54 | 54 | |
55 | - if (config('auth.providers.users.field', 'email') === 'username' && |
|
55 | + if (config('auth.providers.users.field', 'email') === 'username' && |
|
56 | 56 | config('adminlte.add_nullable_username', true)) { |
57 | - $this->loadMigrationsFrom(ADMINLTETEMPLATE_PATH .'/database/migrations/username_login'); |
|
57 | + $this->loadMigrationsFrom(ADMINLTETEMPLATE_PATH.'/database/migrations/username_login'); |
|
58 | 58 | } |
59 | 59 | } |
60 | 60 | |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | if (!$this->app->routesAreCached()) { |
111 | 111 | $router = app('router'); |
112 | 112 | |
113 | - $router->group(['namespace' => Container::getInstance()->getNamespace().'Http\Controllers'], function () { |
|
113 | + $router->group([ 'namespace' => Container::getInstance()->getNamespace().'Http\Controllers' ], function() { |
|
114 | 114 | require __DIR__.'/../Http/routes.php'; |
115 | 115 | }); |
116 | 116 | } |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * but take into account we have to add 'web' middleware group here because Laravel by defaults add this middleware in |
6 | 6 | * RouteServiceProvider |
7 | 7 | */ |
8 | -Route::group(['middleware' => 'web'], function () { |
|
8 | +Route::group([ 'middleware' => 'web' ], function() { |
|
9 | 9 | // Route::auth(); |
10 | 10 | |
11 | 11 | Route::get('/home', 'HomeController@index'); |
@@ -12,11 +12,11 @@ |
||
12 | 12 | */ |
13 | 13 | Auth::routes(); |
14 | 14 | |
15 | -Route::get('/', function () { |
|
15 | +Route::get('/', function() { |
|
16 | 16 | return view('welcome'); |
17 | 17 | }); |
18 | 18 | |
19 | -Route::group(['middleware' => 'auth'], function () { |
|
19 | +Route::group([ 'middleware' => 'auth' ], function() { |
|
20 | 20 | // Route::get('/link1', function () { |
21 | 21 | // // Uses Auth Middleware |
22 | 22 | // }); |