Files
newznab-tmux-NNTmux/app/Http/Controllers/Admin/FailedReleasesController.php
T
2020-02-05 00:39:09 +00:00

28 lines
620 B
PHP

<?php
namespace App\Http\Controllers\Admin;
use App\Models\Release;
use App\Http\Controllers\BasePageController;
class FailedReleasesController extends BasePageController
{
/**
* @throws \Exception
*/
public function index()
{
$this->setAdminPrefs();
$meta_title = $title = 'Failed Releases List';
$frellist = Release::getFailedRange();
$this->smarty->assign('releaselist', $frellist);
$content = $this->smarty->fetch('failrel-list.tpl');
$this->smarty->assign(compact('title', 'meta_title', 'content'));
$this->adminrender();
}
}