<?php
declare(strict_types=1);

namespace App\Controllers;

use App\Core\Controller;

final class SubmitController extends Controller
{
    public function index(): void
    {
        $qs = $_SERVER['QUERY_STRING'] ?? '';
        header('Location: ' . base_path('author/submit') . ($qs ? ('?'.$qs) : ''));
        exit;
    }
}
