diff options
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r-- | app/Http/Controllers/CalculatorsController.php | 13 | ||||
-rw-r--r-- | app/Http/Controllers/ComputersController.php | 13 | ||||
-rw-r--r-- | app/Http/Controllers/MusicController.php | 1 | ||||
-rw-r--r-- | app/Http/Controllers/PrivacyController.php | 16 |
4 files changed, 0 insertions, 43 deletions
diff --git a/app/Http/Controllers/CalculatorsController.php b/app/Http/Controllers/CalculatorsController.php deleted file mode 100644 index 38a7a41..0000000 --- a/app/Http/Controllers/CalculatorsController.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -namespace App\Http\Controllers; - -use Illuminate\Http\Request; -use Illuminate\View\View; - -class CalculatorsController extends Controller -{ - public function show() : View { - return view('calculators'); - } -} diff --git a/app/Http/Controllers/ComputersController.php b/app/Http/Controllers/ComputersController.php deleted file mode 100644 index e16e70d..0000000 --- a/app/Http/Controllers/ComputersController.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -namespace App\Http\Controllers; - -use Illuminate\Http\Request; -use Illuminate\View\View; - -class ComputersController extends Controller -{ - public function show() : View { - return view('computers'); - } -} diff --git a/app/Http/Controllers/MusicController.php b/app/Http/Controllers/MusicController.php index 71ab1cc..ef68d2a 100644 --- a/app/Http/Controllers/MusicController.php +++ b/app/Http/Controllers/MusicController.php @@ -23,7 +23,6 @@ class MusicController extends Controller 'api_key' => Config::get('services.lastfm.key') ])->get('https://ws.audioscrobbler.com/2.0/'); $data = $response->json(); - error_log($response->body()); $track_data = $data["recenttracks"]["track"][0]; // $image = array_column($track_data["image"], null, 'size')['large'] ?? false; $image = $track_data["image"][(array_key_last($track_data["image"]))] ?? false; diff --git a/app/Http/Controllers/PrivacyController.php b/app/Http/Controllers/PrivacyController.php deleted file mode 100644 index 277bf35..0000000 --- a/app/Http/Controllers/PrivacyController.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -namespace App\Http\Controllers; - -use Illuminate\Http\Request; -use Illuminate\View\View; - -class PrivacyController extends Controller{ - /** - * Shows the page - * @return View - */ - public function show(): View { - return view('privacy'); - } -} |