<?php

namespace App\Http\Controllers;

use Illuminate\Http\Response;

class DocumentationController extends Controller
{
    public function show(): Response
    {
        $path = base_path('doc.html');

        if (! file_exists($path)) {
            abort(404);
        }

        return response()->file($path);
    }
}
