szurubooru/src/Controllers/IndexController.php

21 lines
243 B
PHP
Raw Normal View History

2013-10-05 19:24:08 +02:00
<?php
2013-10-05 21:24:20 +02:00
class IndexController
2013-10-05 19:24:08 +02:00
{
/**
* @route /
* @route /index
*/
2013-10-05 21:22:28 +02:00
public function indexAction()
2013-10-05 19:24:08 +02:00
{
2013-10-05 21:22:28 +02:00
$this->context->subTitle = 'home';
2013-10-05 19:24:08 +02:00
}
/**
* @route /help
*/
public function helpAction()
{
$this->context->subTitle = 'help';
}
2013-10-05 19:24:08 +02:00
}