aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers
diff options
context:
space:
mode:
authorfloppydiskette <floppydisk@hyprcat.net>2025-01-16 19:54:20 +0000
committerfloppydiskette <floppydisk@hyprcat.net>2025-01-16 19:54:20 +0000
commit3821e58e1021f7f44ee0aa23cca88f1abb95dbdd (patch)
tree89e476e1350308c12a572080bdd6eb74d654231b /app/Http/Controllers
parentcebb14f59cb54b24861a9aef03b9fcbf57465967 (diff)
two of them
Diffstat (limited to 'app/Http/Controllers')
-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(),
]);
}