From: Vincent Vanwaelscappel Date: Thu, 21 Feb 2019 18:39:04 +0000 (+0100) Subject: wip #2413 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=aeb2f00ca2c509bf89fa3a316c6ed20ba2a7e1cb;p=cubist_cms-front.git wip #2413 @1 --- diff --git a/composer.json b/composer.json index 4baae91..3b055b4 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,8 @@ } ], "require": { - "php": ">=5.4.0" + "php": ">=5.4.0", + "laravel/framework": "5.8.x-dev" }, "repositories": [ { @@ -24,4 +25,4 @@ "url": "https:\/\/composer.cubedesigners.com\/" } ] -} \ No newline at end of file +} diff --git a/src/Cubist/Front/SayHello.php b/src/Cubist/Front/SayHello.php deleted file mode 100644 index c413e6f..0000000 --- a/src/Cubist/Front/SayHello.php +++ /dev/null @@ -1,10 +0,0 @@ -loadViewsFrom($customViewsFolder, 'cubist'); + } + // - then the stock views that come with the package, in case a published view might be missing + $this->loadViewsFrom(realpath(__DIR__.'/resources/views'), 'cubist'); + + // publish config file + $this->publishes([__DIR__.'/config/cubist-front.php' => config_path('cubist-front.php')], 'config'); + // publish the views + $this->publishes([__DIR__.'/resources/views' => resource_path('views/vendor/backpack/backupmanager')], 'views'); + } +} \ No newline at end of file diff --git a/src/config/cubist-front.php b/src/config/cubist-front.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/src/config/cubist-front.php @@ -0,0 +1 @@ +