Skip to content

Commit

Permalink
path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
veneliniliev committed Jun 27, 2016
1 parent 5bdabd6 commit 1a82a11
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ModulesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ public function boot()
__DIR__.'/../config/modules.php' => config_path('modules.php'),
], 'config');

$this->publishes([
__DIR__.'/../resources/stubs/' => config('modules.custom_stubs'),
], 'stubs');
if(config('modules.custom_stubs')){
$this->publishes([
__DIR__.'/../resources/stubs/' => config('modules.custom_stubs'),
], 'stubs');
}

$modules = $this->app['modules'];

Expand Down

0 comments on commit 1a82a11

Please sign in to comment.