diff --git a/.gitignore b/.gitignore
index 0795792..8b2066c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
src/Public/.DS_Store
src/.DS_Store
src/Database/.DS_Store
+src/Controllers/.DS_Store
diff --git a/composer.json b/composer.json
index 36bea0c..248e598 100755
--- a/composer.json
+++ b/composer.json
@@ -33,5 +33,15 @@
"OpenPolice\\": "src/",
"OpenPolice\\Models\\": "storage/app/models/openpolice"
}
+ },
+ "extra": {
+ "laravel": {
+ "providers": [
+ "FlexYourRights\\OpenPolice\\OpenPoliceServiceProvider"
+ ],
+ "aliases": {
+ "OpenPolice": "FlexYourRights\\OpenPolice\\OpenPoliceFacade"
+ }
+ }
}
}
diff --git a/src/Controllers/Middleware/routes-api.php b/src/Controllers/Middleware/routes-api.php
new file mode 100644
index 0000000..8eeb61a
--- /dev/null
+++ b/src/Controllers/Middleware/routes-api.php
@@ -0,0 +1,17 @@
+
$ vagrant ssh
$ cd /home/vagrant/Code
$ composer global require "laravel/installer"
-$ composer create-project laravel/laravel OpenPolice "5.3.*"
+$ composer create-project laravel/laravel OpenPolice "5.8.*"
Now you should be able to confirm your successful installation by pulling up http://homestead.test/ in your browser!
- If you like, you can now connect to your server\'s database with something like Sequel Pro,
@@ -23620,8 +23620,7 @@ functional OpenPolice.org!
'NodePromptText' => '
{{Newsletter Sign Up}}
-
-
',
+
',
'NodePromptAfter' => '
-',
- 'NodeResponseSet' => '/complaint-or-compliment',
- 'NodeDefault' => '#333333;;#EDF8FF;;#FFF;;/openpolice/open-police-hero-1J.jpg;;w100;;P;;center;;h100',
- 'NodeOpts' => '71'
- ]);
DB::table('SL_Node')->insert([
'NodeID' => 1125,
'NodeTree' => '12',
@@ -25854,13 +25773,10 @@ function checkLogoScroll() {
'NodePromptText' => '
-
Your Story is Too Important to be Ignored
-
Prepare, file, and track reports of police misconduct.
-
-
-
+Your story is too important to be ignored.
+Prepare, file, and track reports of police misconduct.
+SHARE YOUR STORY
+DONATE
',
'NodePromptAfter' => '
',
- 'NodeDefault' => '#000;;#EDF8FF;;#FFF;;/openpolice/open-police-hero-1J.jpg;;w100;;P;;center;;h100',
+ 'NodeDefault' => '#000;;#EDF8FF;;#FFF;;/openpolice/open-police-hero-1J.jpg;;w100;;Y;;center;;h100',
'NodeOpts' => '71'
]);
DB::table('SL_Node')->insert([
@@ -30828,7 +30737,7 @@ function checkYouFatal() {
'NodeParentID' => '793',
'NodeParentOrder' => '10',
'NodeType' => 'Page Block',
- 'NodeDefault' => '#2B3493;;#FFF;;#EDF8FF;;/openpolice/uploads/ten-rules-still-bg3.jpg;;w100;;P;;left;;auto',
+ 'NodeDefault' => '#2B3493;;#FFF;;#EDF8FF;;/openpolice/uploads/ten-rules-still-bg3.jpg;;w100;;Y;;left;;auto',
'NodeOpts' => '71'
]);
DB::table('SL_Node')->insert([
@@ -41962,17 +41871,6 @@ function checkVehicType() {
'CondNodeNodeID' => '1113',
'CondNodeLoopID' => '-1'
]);
- DB::table('SL_ConditionsNodes')->insert([
- 'CondNodeID' => 285,
- 'CondNodeCondID' => '62',
- 'CondNodeNodeID' => '1128'
- ]);
- DB::table('SL_ConditionsNodes')->insert([
- 'CondNodeID' => 286,
- 'CondNodeCondID' => '62',
- 'CondNodeNodeID' => '1124',
- 'CondNodeLoopID' => '-1'
- ]);
DB::table('SL_ConditionsNodes')->insert([
'CondNodeID' => 293,
'CondNodeCondID' => '8',
diff --git a/src/OpenPoliceServiceProvider.php b/src/OpenPoliceServiceProvider.php
index 388f236..6206a26 100755
--- a/src/OpenPoliceServiceProvider.php
+++ b/src/OpenPoliceServiceProvider.php
@@ -20,7 +20,8 @@ class OpenPoliceServiceProvider extends ServiceProvider
public function boot()
{
- require __DIR__ . '/routes.php';
+ //require __DIR__ . '/routes.php';
+ $this->loadRoutesFrom(__DIR__.'/routes.php');
$this->loadViewsFrom(__DIR__.'/Views', 'openpolice');
$this->publishes([
__DIR__.'/Views' => base_path('resources/views/vendor/openpolice'),