mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-19 18:43:12 +00:00
Tweak config
This commit is contained in:
@@ -33,6 +33,9 @@ class IdeHelperServiceProvider extends ServiceProvider
|
|||||||
{
|
{
|
||||||
$viewPath = __DIR__.'/../resources/views';
|
$viewPath = __DIR__.'/../resources/views';
|
||||||
$this->loadViewsFrom($viewPath, 'ide-helper');
|
$this->loadViewsFrom($viewPath, 'ide-helper');
|
||||||
|
|
||||||
|
$configPath = __DIR__ . '/../config/ide-helper.php';
|
||||||
|
$this->publishes([$configPath => config_path('ide-helper.php')], 'config');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -44,7 +47,6 @@ class IdeHelperServiceProvider extends ServiceProvider
|
|||||||
{
|
{
|
||||||
$configPath = __DIR__ . '/../config/ide-helper.php';
|
$configPath = __DIR__ . '/../config/ide-helper.php';
|
||||||
$this->mergeConfigFrom($configPath, 'ide-helper');
|
$this->mergeConfigFrom($configPath, 'ide-helper');
|
||||||
$this->publishes([$configPath => config_path('ide-helper.php')]);
|
|
||||||
|
|
||||||
$this->app['command.ide-helper.generate'] = $this->app->share(
|
$this->app['command.ide-helper.generate'] = $this->app->share(
|
||||||
function ($app) {
|
function ($app) {
|
||||||
|
|||||||
Reference in New Issue
Block a user