Files
Atomcms-edit/app/Http/Controllers/Community/PhotosController.php
T
2026-05-09 17:32:17 +02:00

20 lines
453 B
PHP
Executable File

<?php
namespace App\Http\Controllers\Community;
use App\Http\Controllers\Controller;
use App\Services\Community\CameraService;
use Illuminate\View\View;
class PhotosController extends Controller
{
public function __construct(private readonly CameraService $cameraService) {}
public function __invoke(): View
{
return view('community.photos', [
'photos' => $this->cameraService->fetchPhotos(true),
]);
}
}