Skip to content

Commit

Permalink
Merge pull request #674 from andrey-helldar/patch-2020-01-20-10-43
Browse files Browse the repository at this point in the history
Replaced the helper call with the class method in the ServiceProvider
  • Loading branch information
shalvah authored Jan 20, 2020
2 parents 7b926e5 + e403ff0 commit 503b699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ApiDocGeneratorServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ public function boot()
$this->loadViewsFrom(__DIR__.'/../resources/views/', 'apidoc');

$this->publishes([
__DIR__.'/../resources/views' => app()->basePath().'/resources/views/vendor/apidoc',
__DIR__.'/../resources/views' => $this->app->basePath('resources/views/vendor/apidoc'),
], 'apidoc-views');

$this->publishes([
__DIR__.'/../config/apidoc.php' => app()->basePath().'/config/apidoc.php',
__DIR__.'/../config/apidoc.php' => $this->app->configPath('apidoc.php'),
], 'apidoc-config');

$this->mergeConfigFrom(__DIR__.'/../config/apidoc.php', 'apidoc');
Expand Down

0 comments on commit 503b699

Please sign in to comment.