Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit bc1e7c2

Browse files
committed
pr fixes
1 parent 79b17e8 commit bc1e7c2

File tree

2 files changed

+7
-25
lines changed

2 files changed

+7
-25
lines changed

config/lucid.php

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,10 @@
66
| Dashboard
77
|--------------------------------------------------------------------------
88
|
9-
| By default /lucid/dashboard is available on when env('APP_DEBUG')
10-
| is true. If you set this value to "true" it will be always accessible
11-
| even on production environment.
9+
| By default /lucid/dashboard is available when env('APP_DEBUG') is true.
10+
| If you set this value to "true" it will be always accessible even on
11+
| production environment.
1212
|
1313
*/
1414
'dashboard' => null,
15-
16-
/*
17-
|--------------------------------------------------------------------------
18-
| Microservice
19-
|--------------------------------------------------------------------------
20-
|
21-
| By default Lucid Architecture is setup as microservice. Microservice
22-
| means that you will have only one service and all features / jobs / data
23-
| etc. will be generated into /app/ directory.
24-
|
25-
| When you set this value to "false" it means you application have multiple
26-
| services and all classes will be generated into /src/ directrory.
27-
| After changing that value all "lucid" classes should be moved
28-
| from /app/ to /src/.
29-
|
30-
*/
31-
//'microservice' => true,
32-
3315
];

src/LucidServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ public function boot()
2727
$configPath = __DIR__ . '/../config/lucid.php';
2828
$this->publishes([$configPath => $this->getConfigPath()], 'config');
2929

30-
$dashboard_enabled = $this->app['config']->get('lucid.dashboard');
30+
$dashboardEnabled = $this->app['config']->get('lucid.dashboard');
3131

32-
if ($dashboard_enabled === null) {
33-
$dashboard_enabled = $this->app['config']->get('app.debug');
32+
if ($dashboardEnabled === null) {
33+
$dashboardEnabled = $this->app['config']->get('app.debug');
3434
}
3535

36-
if ($dashboard_enabled === true) {
36+
if ($dashboardEnabled === true) {
3737
if (!$this->app->routesAreCached() ) {
3838
require_once __DIR__.'/Http/routes.php';
3939
}

0 commit comments

Comments
 (0)