Trying to fix an 500 error on production

This commit is contained in:
Bruno F. Fontes 2018-10-16 20:18:10 -03:00
parent 8ae1e92a63
commit 840f0a777a
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -8,7 +8,7 @@
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }} {{ $usedItems ? "(${usedItems})" : '' }}</title>
<title>{{ config('app.name', 'Laravel') }} {{ isset($usedItems) ? "(${usedItems})" : '' }}</title>
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}" defer></script>