Skip to content

Commit

Permalink
changes resources path
Browse files Browse the repository at this point in the history
  • Loading branch information
riteshjha committed Jun 17, 2020
1 parent 6a1a6ac commit c60d53c
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/PermissionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function publishViews()
*/
protected function publishAssets()
{
$this->publishes([__DIR__ . '/assets' => public_path('vendor/permission')], 'public');
$this->publishes([__DIR__ . '/../resources/assets' => public_path('vendor/permission')], 'public');
}

/**
Expand All @@ -102,7 +102,7 @@ protected function publishAssets()
*/
protected function getConfigPath()
{
return __DIR__ . '/config/permission.php';
return __DIR__ . '/../config/permission.php';
}

/**
Expand All @@ -122,7 +122,7 @@ protected function getMigrationsPath()
*/
protected function getViewPath()
{
return __DIR__.'/views';
return __DIR__.'/../resources/views';
}

/**
Expand Down

0 comments on commit c60d53c

Please sign in to comment.