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 Auth;
use Lang; use Lang;
use \App\Item; use App\Item;
use \App\User; use App\User;
use App\Events\ReturnItem; use App\Events\ReturnItem;
use Illuminate\Http\Request; use Illuminate\Http\Request;

View File

@ -8,7 +8,7 @@
<!-- CSRF Token --> <!-- CSRF Token -->
<meta name="csrf-token" content="{{ 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 --> <!-- Scripts -->
<script src="{{ asset('js/app.js') }}" defer></script> <script src="{{ asset('js/app.js') }}" defer></script>