miniflux-legacy/app/controllers/help.php

21 lines
463 B
PHP
Raw Permalink Normal View History

<?php
namespace Miniflux\Controller;
use Miniflux\Model;
use Miniflux\Router;
use Miniflux\Response;
use Miniflux\Session\SessionStorage;
use Miniflux\Template;
// Display help page
Router\get_action('help', function () {
$user_id = SessionStorage::getInstance()->getUserId();
2017-01-21 20:40:24 +01:00
Response\html(Template\layout('config/help', array(
'config' => Model\Config\get_all($user_id),
'menu' => 'config',
2016-12-29 02:52:58 +01:00
'title' => t('Help')
)));
});