szurubooru/src/Controllers/UserController.php

23 lines
350 B
PHP
Raw Normal View History

2013-10-05 19:24:08 +02:00
<?php
2013-10-05 21:24:20 +02:00
class UserController
2013-10-05 19:24:08 +02:00
{
/**
* @route /users
*/
public function listAction()
{
2013-10-05 21:22:28 +02:00
$this->context->subTitle = 'users';
2013-10-05 19:24:08 +02:00
throw new Exception('Not implemented');
}
/**
* @route /user/{name}
* @validate name [^\/]+
*/
public function showAction($name)
{
2013-10-05 21:22:28 +02:00
$this->context->subTitle = $name;
2013-10-05 19:24:08 +02:00
throw new Exception('Not implemented');
}
}