This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/libraries/Controllers/Settings/GeneralController.php

44 lines
753 B
PHP
Raw Normal View History

<?php
/**
* Holds the general settings section controller.
*
* @package Sakura
*/
namespace Sakura\Controllers\Settings;
2016-03-31 20:03:25 +00:00
use Sakura\ActiveUser;
use Sakura\Perms\Site;
use Sakura\Template;
/**
* General settings.
*
* @package Sakura
* @author Julian van de Groep <me@flash.moe>
*/
class GeneralController extends Controller
{
public function home()
{
2016-03-31 20:03:25 +00:00
ActiveUser::class;
Site::class;
$navigation = $this->navigation();
Template::vars(compact('navigation'));
return Template::render('settings/general/home');
}
public function profile()
{
return $this->go('general.profile');
}
public function options()
{
return $this->go('general.options');
}
}