From 840f0a777a2a532be66f689ada62c53ee20e155c Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Tue, 16 Oct 2018 20:18:10 -0300 Subject: [PATCH] Trying to fix an 500 error on production --- app/Http/Controllers/TakeController.php | 4 ++-- resources/views/layouts/app.blade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/TakeController.php b/app/Http/Controllers/TakeController.php index 0f700df..4c2060a 100644 --- a/app/Http/Controllers/TakeController.php +++ b/app/Http/Controllers/TakeController.php @@ -4,8 +4,8 @@ namespace App\Http\Controllers; use Auth; use Lang; -use \App\Item; -use \App\User; +use App\Item; +use App\User; use App\Events\ReturnItem; use Illuminate\Http\Request; diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 97afb3e..8cf8344 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -8,7 +8,7 @@ - {{ config('app.name', 'Laravel') }} {{ $usedItems ? "(${usedItems})" : '' }} + {{ config('app.name', 'Laravel') }} {{ isset($usedItems) ? "(${usedItems})" : '' }}