FIX: fix minor bug in content overview and module installation

This commit is contained in:
Michal Kváček
2017-09-25 14:37:30 +02:00
parent 4ef5e3e3cd
commit 1ecef555ef
3 changed files with 6 additions and 2 deletions
@@ -67,6 +67,8 @@ class InstallModule extends Command
Cache::forget('enabled-modules');
Cache::forget('module-handler-to-id-enumeration');
exec('php artisan module:enable '.$name);
exec('php artisan cache:clear');
exec('composer dump-autoload');
// inform user
+1 -1
View File
@@ -74,7 +74,7 @@ class SetTemplate extends Command
// run again artisan for publishing resources
// it cannot be done using $this->call, because we need to load different template into service providers
if ($publish) {
exec('php artisan vendor:publish');
exec('php artisan template:publish');
}
}
}
@@ -45,7 +45,9 @@
@lang($page->module->name)
</a>
<br>
<small>({{$page->templateModel->name}})</small>
@if(!is_null($page->templateModel))
<small>({{$page->templateModel->name}})</small>
@endif
</div>
<div class="col-lg-2 hidden-md-down">@date($page->created_at)</div>
<div class="col-xs-2 col-lg-1 text-center">