Skip to content

Commit

Permalink
Fixed php artisan vendor:publish
Browse files Browse the repository at this point in the history
  • Loading branch information
nilportugues committed Apr 4, 2016
1 parent c602e60 commit c8bbb13
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Laravel5JsonApiServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->publishes([__DIR__.self::PATH => config('jsonapi.php')]);
$this->publishes([realpath(__DIR__.'/../../../config') => base_path('config')]);
}

/**
Expand Down Expand Up @@ -64,8 +64,6 @@ public function register()
}

$this->app->singleton(JsonApiSerializer::class, $provider->provider());

$this->publishes([__DIR__.'/../../../config/jsonapi.php' => base_path('config')]);
}

/**
Expand Down

0 comments on commit c8bbb13

Please sign in to comment.