Skip to content

Commit 48fc04a

Browse files
spamoomJaspaul
authored andcommitted
Merging config to avoid publishing (#12)
* Merging config to avoid publishing * Moved mergeConfigFrom to correct position in service provider
1 parent 25709f5 commit 48fc04a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/ServiceProvider.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,18 @@ public function boot()
5959
]);
6060
}
6161

62+
/**
63+
* Register bindings in the container.
64+
*
65+
* @return void
66+
*/
67+
public function register()
68+
{
69+
$this->mergeConfigFrom(
70+
__DIR__.'/../resources/config/laravel-rollout.php', 'laravel-rollout'
71+
);
72+
}
73+
6274
/**
6375
* Adds our configuration file to the publishes array.
6476
*

0 commit comments

Comments
 (0)