summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Controllers/ScormPlayerController.php (renamed from src/Http/Controllers/ScormPlayerController.php)6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Http/Controllers/ScormPlayerController.php b/src/Controllers/ScormPlayerController.php
index 179e78f..e7f3971 100644
--- a/src/Http/Controllers/ScormPlayerController.php
+++ b/src/Controllers/ScormPlayerController.php
@@ -1,6 +1,6 @@
<?php
-namespace Lightscale\ScormPlayer\Http\Controllers;
+namespace Lightscale\ScormPlayer\Controllers;
use Lightscale\ScormPlayer\Models\{
Scorm,
@@ -22,7 +22,7 @@ use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
class ScormPlayerController extends Controller
{
- private const JS_PATH = __DIR__ . '/../../../dist/js/scorm_player.js';
+ private const JS_PATH = __DIR__ . '/../../dist/js/scorm_player.js';
public function player(Request $request, Scorm $module)
{
@@ -113,8 +113,6 @@ class ScormPlayerController extends Controller
{
return response()->file(self::JS_PATH, [
'Content-Type' => 'application/javascript',
- //'Cache-Control' => $cacheControl,
- //'ETag' => $etag,
]);
}