Skip to content

Commit

Permalink
Added publishing group tag for config file
Browse files Browse the repository at this point in the history
Added publishing file group tag for config file so we can use php artisan vendor:publish --tag=config
  • Loading branch information
syahzul committed Aug 17, 2015
1 parent afcf6d3 commit f6dc01f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ModulesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ protected function registerNamespaces()
{
$configPath = __DIR__.'/src/config/config.php';
$this->mergeConfigFrom($configPath, 'modules');
$this->publishes([$configPath => config_path('modules.php')]);
$this->publishes([
$configPath => config_path('modules.php')
], 'config');
}

/**
Expand Down

0 comments on commit f6dc01f

Please sign in to comment.