FIX: fix minor bug in content overview and module installation
This commit is contained in:
@@ -67,6 +67,8 @@ class InstallModule extends Command
|
|||||||
Cache::forget('enabled-modules');
|
Cache::forget('enabled-modules');
|
||||||
Cache::forget('module-handler-to-id-enumeration');
|
Cache::forget('module-handler-to-id-enumeration');
|
||||||
|
|
||||||
|
exec('php artisan module:enable '.$name);
|
||||||
|
exec('php artisan cache:clear');
|
||||||
exec('composer dump-autoload');
|
exec('composer dump-autoload');
|
||||||
|
|
||||||
// inform user
|
// inform user
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ class SetTemplate extends Command
|
|||||||
// run again artisan for publishing resources
|
// run again artisan for publishing resources
|
||||||
// it cannot be done using $this->call, because we need to load different template into service providers
|
// it cannot be done using $this->call, because we need to load different template into service providers
|
||||||
if ($publish) {
|
if ($publish) {
|
||||||
exec('php artisan vendor:publish');
|
exec('php artisan template:publish');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,7 +45,9 @@
|
|||||||
@lang($page->module->name)
|
@lang($page->module->name)
|
||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
<small>({{$page->templateModel->name}})</small>
|
@if(!is_null($page->templateModel))
|
||||||
|
<small>({{$page->templateModel->name}})</small>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-2 hidden-md-down">@date($page->created_at)</div>
|
<div class="col-lg-2 hidden-md-down">@date($page->created_at)</div>
|
||||||
<div class="col-xs-2 col-lg-1 text-center">
|
<div class="col-xs-2 col-lg-1 text-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user