Alltube\Controller\FrontController::index PHP Method

index() public method

Display index page.
public index ( Slim\Http\Request $request, Slim\Http\Response $response ) : void
$request Slim\Http\Request PSR-7 request
$response Slim\Http\Response PSR-7 response
return void
    public function index(Request $request, Response $response)
    {
        if ($this->container instanceof Container) {
            $this->container->view->render($response, 'index.tpl', ['convert' => $this->config->convert, 'class' => 'index', 'description' => 'Easily download videos from Youtube, Dailymotion, Vimeo and other websites.']);
        }
    }