Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
shengslogar committed May 3, 2022
1 parent df32fde commit e36a2d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ public function boot(): void
$this->publishes([
__DIR__ . '/../config/breadcrumbs.php' => config_path('breadcrumbs.php'),
], 'breadcrumbs-config');
// Publish the views

// Publish resources/views/* files
$this->publishes([
__DIR__ . '/../resources/views' => $this->app->resourcePath('views/vendor/breadcrumbs'),
], 'breadcrumbs-view');
__DIR__ . '/../resources/views' => resource_path('views/vendor/breadcrumbs'),
], 'breadcrumbs-views');

// Load the routes/breadcrumbs.php file
$this->registerBreadcrumbs();
Expand Down

0 comments on commit e36a2d5

Please sign in to comment.