silverstripe-cms/tests/php/Controllers/ContentControllerTest_PageController.php
2017-08-09 16:58:07 +12:00

22 lines
354 B
PHP

<?php
use SilverStripe\Dev\TestOnly;
class ContentControllerTest_PageController extends PageController implements TestOnly
{
private static $allowed_actions = array(
'second_index'
);
public function index()
{
return $this->Title;
}
public function second_index()
{
return $this->index();
}
}