<?php

declare(strict_types=1);

namespace Seka\Terminy\Http\Controllers\Frontend;

use Illuminate\Contracts\View\View;
use Seka\Terminy\Http\Controllers\Controller;

/**
 * Class TerminyController
 *
 * @package Seka\Terminy\Http\Controllers\Frontend
 */
final class TerminyController extends Controller
{
    /**
     * @return \Illuminate\Contracts\View\View
     * @throws \Illuminate\Auth\Access\AuthorizationException
     * @throws \Illuminate\Contracts\Container\BindingResolutionException
     */
    public function index(): View
    {
        $this->authorize('terminy.zobrazit');

        return view('Terminy::pages.modul.frontend.index');
    }
}
