diff options
Diffstat (limited to 'app/Http')
-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(), ]); } |