Skip to content

Commit 51f3828

Browse files
author
Nil Portugues Caldero
committed
Adding support for vendor:publish laravel command
1 parent b1bb8f3 commit 51f3828

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/NilPortugues/Laravel5/JsonApi/Laravel5JsonApiServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public function register()
6464
}
6565

6666
$this->app->singleton(JsonApiSerializer::class, $provider->provider());
67+
68+
$this->publishes([__DIR__.'/../../../config/jsonapi.php' => base_path('config')]);
6769
}
6870

6971
/**

0 commit comments

Comments
 (0)