diff --git a/src/Database/2019_03_15_OP_create_tables.php b/src/Database/2019_03_15_create_openpolice_tables.php similarity index 99% rename from src/Database/2019_03_15_OP_create_tables.php rename to src/Database/2019_03_15_create_openpolice_tables.php index 51ea0ac..2819ad3 100644 --- a/src/Database/2019_03_15_OP_create_tables.php +++ b/src/Database/2019_03_15_create_openpolice_tables.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; -class OPCreateTables extends Migration +class CreateOpenPoliceTables extends Migration { /** * Run the migrations. diff --git a/src/Database/OpenPoliceSeeder.php b/src/Database/OpenPoliceSeeder.php index d794626..ff20399 100755 --- a/src/Database/OpenPoliceSeeder.php +++ b/src/Database/OpenPoliceSeeder.php @@ -4,7 +4,7 @@ use Illuminate\Database\Seeder; use Illuminate\Database\Eloquent\Model; -class OPSeeder extends Seeder +class OpenPoliceSeeder extends Seeder { /** * Run the database seeds. diff --git a/src/OpenPoliceServiceProvider.php b/src/OpenPoliceServiceProvider.php index 74608b7..92b07e0 100755 --- a/src/OpenPoliceServiceProvider.php +++ b/src/OpenPoliceServiceProvider.php @@ -21,6 +21,7 @@ class OpenPoliceServiceProvider extends ServiceProvider public function boot() { require __DIR__ . '/routes.php'; + $this->loadViewsFrom(__DIR__.'/Views', 'openpolice'); $this->publishes([ __DIR__.'/Views' => base_path('resources/views/vendor/openpolice'), __DIR__.'/Public' => base_path('public/openpolice'),