mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 19:01:29 +00:00
38 lines
926 B
PHP
38 lines
926 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
class ApiHelpController extends BasePageController
|
|
{
|
|
public function __construct(Request $request)
|
|
{
|
|
parent::__construct($request);
|
|
}
|
|
|
|
/**
|
|
* @throws \Exception
|
|
*/
|
|
public function index()
|
|
{
|
|
$this->setPrefs();
|
|
$title = 'Api Help';
|
|
$meta_title = 'Api Help Topics';
|
|
$meta_keywords = 'view,nzb,api,details,help,json,rss,atom';
|
|
$meta_description = 'View description of the site Nzb Api.';
|
|
|
|
$content = $this->smarty->fetch('apidesc.tpl');
|
|
$this->smarty->assign(
|
|
[
|
|
'content' => $content,
|
|
'title' => $title,
|
|
'meta_title' => $meta_title,
|
|
'meta_keywords' => $meta_keywords,
|
|
'meta_description' => $meta_description,
|
|
]
|
|
);
|
|
$this->pagerender();
|
|
}
|
|
}
|