mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
22 lines
354 B
PHP
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();
|
||
|
}
|
||
|
}
|