From 615ae1005ace5c2645c7f6aa53045619fcbd1499 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 7 Sep 2022 16:15:33 +0100 Subject: Changed the uses around. Need to use Js in the view --- resources/views/player.blade.php | 3 +++ src/Http/Controllers/ScormPlayerController.php | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/views/player.blade.php b/resources/views/player.blade.php index 7970cea..fab87fa 100644 --- a/resources/views/player.blade.php +++ b/resources/views/player.blade.php @@ -1,3 +1,6 @@ +@php +use Illuminate\Support\Js; +@endphp diff --git a/src/Http/Controllers/ScormPlayerController.php b/src/Http/Controllers/ScormPlayerController.php index 7b14860..179e78f 100644 --- a/src/Http/Controllers/ScormPlayerController.php +++ b/src/Http/Controllers/ScormPlayerController.php @@ -13,7 +13,6 @@ use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Str; -use Illuminate\Support\Js; use Illuminate\Http\Request; use Illuminate\Http\Testing\MimeType; -- cgit v1.2.3