Skip to content

Commit

Permalink
Merging config to avoid publishing (#12)
Browse files Browse the repository at this point in the history
* Merging config to avoid publishing

* Moved mergeConfigFrom to correct position in service provider
  • Loading branch information
spamoom authored and Jaspaul committed Feb 23, 2018
1 parent 25709f5 commit 48fc04a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@ public function boot()
]);
}

/**
* Register bindings in the container.
*
* @return void
*/
public function register()
{
$this->mergeConfigFrom(
__DIR__.'/../resources/config/laravel-rollout.php', 'laravel-rollout'
);
}

/**
* Adds our configuration file to the publishes array.
*
Expand Down

0 comments on commit 48fc04a

Please sign in to comment.