<?php

namespace App\Http\Controllers;

use App\Support\PublicMedia;
use Symfony\Component\HttpFoundation\BinaryFileResponse;

class MediaController extends Controller
{
    public function show(string $path): BinaryFileResponse
    {
        return PublicMedia::response($path);
    }
}
