<?php

namespace App\Http\Controllers\Help;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\View\View;

/**
 * 도움말 > 바로빌 연동 가이드 컨트롤러
 */
class BarobillGuideController extends Controller
{
    public function index(Request $request): View|Response
    {
        if ($request->header('HX-Request')) {
            return response('', 200)->header('HX-Redirect', route('help.barobill.index'));
        }

        return view('help.barobill.index');
    }
}
