Skip to content

Commit

Permalink
Merge pull request #4 from mrberggg/patch-1
Browse files Browse the repository at this point in the history
Fix vendor:publish "Can't locate path: <0>" bug
  • Loading branch information
Diego Hernandes authored Jun 29, 2017
2 parents e18855a + adca16e commit 23dc661
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ class ServiceProvider extends LaravelServiceProvider
public function boot()
{
// declare the configuration files available for publishing.
$this->publishes([__DIR__.'../config/jwt.php'], 'config');
$this->publishes([
__DIR__.'../config/jwt.php' => config_path('jwt.php')
]);

// case enabled, setups a guard match by middleware group name.
$this->setupGuardMiddlewareMatch();
Expand Down Expand Up @@ -105,4 +107,4 @@ protected function setupGuardMiddlewareMatch()
});
}
}
}
}

0 comments on commit 23dc661

Please sign in to comment.