From: Vincent Vanwaelscappel Date: Tue, 21 May 2019 13:08:33 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6dc4247f1cd5b5ddc5d87a463f13e6720d82b4ea;p=cubist_cms-back.git #2783 --- diff --git a/src/CubistBackpackServiceProvider.php b/src/CubistBackpackServiceProvider.php index f0ce2c4..7f5760d 100644 --- a/src/CubistBackpackServiceProvider.php +++ b/src/CubistBackpackServiceProvider.php @@ -36,8 +36,9 @@ class CubistBackpackServiceProvider extends ServiceProvider // Config::set('settings.' . $setting->key, $setting->value); // } // } + $this->publishes([__DIR__.'/database/migrations' => database_path('migrations')], 'migrations'); + $this->loadTranslationsFrom(__DIR__ . '/resources/lang', 'cubist_back'); - $this->loadMigrationsFrom(__DIR__ . '/database/migrations'); foreach (glob(__DIR__ . '/routes/cubist/backpack/*.php') as $filename) { $this->loadRoutesFrom($filename); }