diff --git a/database/seeds/UsersSeeder.php b/database/seeds/UsersSeeder.php index a7adfa0..802b1fc 100644 --- a/database/seeds/UsersSeeder.php +++ b/database/seeds/UsersSeeder.php @@ -3,6 +3,7 @@ use CodexShaper\Permission\Models\Role; use CodexShaper\Permission\Models\User; use Illuminate\Database\Seeder; +use Illuminate\Support\Facades\Hash; class UsersSeeder extends Seeder { diff --git a/src/PermissionServiceProvider.php b/src/PermissionServiceProvider.php index de65db6..7c6c7ee 100644 --- a/src/PermissionServiceProvider.php +++ b/src/PermissionServiceProvider.php @@ -81,7 +81,7 @@ protected function registerPublish() __DIR__.'/../config/permission.php' => config_path('permission.php'), ], 'permission.seeds' => [ - __DIR__."/../database/seeds/" => database_path('seeds'), + __DIR__."/../database/seeds/" => database_path('seeders'), ], 'permission.views' => [ __DIR__.'/../resources/views' => resource_path('views/vendor/permissions/views'),