|
@@ -15,17 +15,17 @@ class ApiDocGeneratorServiceProvider extends ServiceProvider
|
|
|
*/
|
|
|
public function boot()
|
|
|
{
|
|
|
- $this->loadViewsFrom(__DIR__ . '/../resources/views/', 'apidoc');
|
|
|
+ $this->loadViewsFrom(__DIR__.'/../resources/views/', 'apidoc');
|
|
|
|
|
|
$this->publishes([
|
|
|
- __DIR__ . '/../resources/views' => app()->basePath() . '/resources/views/vendor/apidoc',
|
|
|
+ __DIR__.'/../resources/views' => app()->basePath().'/resources/views/vendor/apidoc',
|
|
|
], 'apidoc-views');
|
|
|
|
|
|
$this->publishes([
|
|
|
- __DIR__ . '/../config/apidoc.php' => app()->basePath() . '/config/apidoc.php',
|
|
|
+ __DIR__.'/../config/apidoc.php' => app()->basePath().'/config/apidoc.php',
|
|
|
], 'apidoc-config');
|
|
|
|
|
|
- $this->mergeConfigFrom(__DIR__ . '/../config/apidoc.php', 'apidoc');
|
|
|
+ $this->mergeConfigFrom(__DIR__.'/../config/apidoc.php', 'apidoc');
|
|
|
|
|
|
$this->bootRoutes();
|
|
|
|
|
@@ -51,7 +51,7 @@ class ApiDocGeneratorServiceProvider extends ServiceProvider
|
|
|
{
|
|
|
if ($this->app['config']->get('apidoc.type', 'static') == 'laravel') {
|
|
|
$this->loadRoutesFrom(
|
|
|
- __DIR__ . '/../routes/laravel.php'
|
|
|
+ __DIR__.'/../routes/laravel.php'
|
|
|
);
|
|
|
}
|
|
|
}
|