diff options
author | floppydiskette <floppydisk@hyprcat.net> | 2025-01-16 19:54:20 +0000 |
---|---|---|
committer | floppydiskette <floppydisk@hyprcat.net> | 2025-01-16 19:54:20 +0000 |
commit | 3821e58e1021f7f44ee0aa23cca88f1abb95dbdd (patch) | |
tree | 89e476e1350308c12a572080bdd6eb74d654231b /app | |
parent | cebb14f59cb54b24861a9aef03b9fcbf57465967 (diff) |
two of them
Diffstat (limited to 'app')
-rw-r--r-- | app/Http/Controllers/RoscoLekoController.php (renamed from app/Http/Controllers/RoscoController.php) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Http/Controllers/RoscoController.php b/app/Http/Controllers/RoscoLekoController.php index 9986831..7058a26 100644 --- a/app/Http/Controllers/RoscoController.php +++ b/app/Http/Controllers/RoscoLekoController.php @@ -5,10 +5,10 @@ namespace App\Http\Controllers; use Illuminate\Support\Facades\File; use Illuminate\View\View; -class RoscoController extends Controller { +class RoscoLekoController extends Controller { public function getImages(): array { $images = []; - foreach (File::glob(public_path('images/rosco').'/*') as $path) { + foreach (File::glob(public_path('images/rosco-leko').'/*') as $path) { $image_data = []; try { $exif = exif_read_data($path); @@ -41,7 +41,7 @@ class RoscoController extends Controller { * @return View */ public function show(): View { - return view('rosco', [ + return view('rosco-leko', [ 'images' => $this->getImages(), ]); } |