FIX: fix template loading for article list
This commit is contained in:
@@ -52,9 +52,6 @@ class ArticleListServiceProvider extends ServiceProvider
|
||||
{
|
||||
$viewPath = base_path('resources/views/modules/articlelist');
|
||||
$sourcePath = __DIR__ . '/../Resources/views';
|
||||
if (!is_dir($sourcePath)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->publishes([$sourcePath => $viewPath]);
|
||||
|
||||
|
||||
+1
-1
@@ -49,9 +49,9 @@ php artisan vendor:publish
|
||||
# this part need running as root
|
||||
sudo chmod 0777 bootstrap/cache -R
|
||||
sudo chmod 0777 storage -R
|
||||
sudo chmod 0777 modules/*
|
||||
sudo chmod 0777 public/uploads -R
|
||||
sudo chmod 0777 resources/views/visitor -R
|
||||
sudo chmod 0777 resources/views/modules -R
|
||||
sudo chmod 0777 modules/*/module.json
|
||||
sudo chmod 0777 modules/*/*/module.json
|
||||
sudo chmod +x scripts/*
|
||||
|
||||
Reference in New Issue
Block a user