Skip to content

Commit

Permalink
Resolved views issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sertxudev authored May 17, 2023
1 parent 31dc7fd commit 81757de
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/PaginationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function boot(): void {
* Define the asset publishing configuration.
*/
public function defineAssetPublishing(): void {
$this->loadViewsFrom(__DIR__.'/../resources/views', 'pagination');
$this->loadViewsFrom(dirname(__DIR__).'/resources/views', 'pagination');
}

/**
Expand All @@ -38,7 +38,7 @@ public function register(): void {
protected function offerPublishing(): void {
if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__.'/../resources/views' => resource_path('views/vendor/pagination'),
dirname(__DIR__).'/resources/views' => resource_path('views/vendor/pagination'),
], ['views', 'pagination-views']);
}
}
Expand Down

0 comments on commit 81757de

Please sign in to comment.