diff --git a/app/config/app.php b/app/config/app.php index 4444884e7..3c750d415 100644 --- a/app/config/app.php +++ b/app/config/app.php @@ -155,6 +155,7 @@ return array( 'Auth' => 'Illuminate\Support\Facades\Auth', 'Blade' => 'Illuminate\Support\Facades\Blade', 'Cache' => 'Illuminate\Support\Facades\Cache', + 'Carbon' => 'Carbon\Carbon', 'ClassLoader' => 'Illuminate\Support\ClassLoader', 'Config' => 'Illuminate\Support\Facades\Config', 'Controller' => 'Illuminate\Routing\Controller', diff --git a/app/controllers/HomeController.php b/app/controllers/HomeController.php index ede41a7a6..6fe4919b3 100644 --- a/app/controllers/HomeController.php +++ b/app/controllers/HomeController.php @@ -1,23 +1,7 @@ subDays($i); + $incidents = Incident::where('created_at', $incidentDate)->get() +?> +
{{ $incident->message }}
+