Skip to content

Commit 860a4a2

Browse files
committed
fix laravel5 provider
1 parent 69ff026 commit 860a4a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/YoutubeServiceProviderLaravel5.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ class YoutubeServiceProviderLaravel5 extends ServiceProvider
1616
*/
1717
public function boot()
1818
{
19-
$publishPath = $this->app['path.config'] . __DIR__ . '/config/youtube.php';
2019
$this->publishes([
21-
__DIR__.'/config/youtube.php' => $publishPath,
20+
__DIR__.'/config/youtube.php' => config_path('youtube.php'),
2221
]);
2322
}
2423

0 commit comments

Comments
 (0)