Compatibility issues with core index
Making index function compatible with SilverStripe\CMS\Model\RedirectorPageController, this stops issues when module installed and also creating a custom index function in PageController
This commit is contained in:
parent
7ebae00ad3
commit
55e9e26558
|
@ -62,7 +62,7 @@ class BlogController extends PageController
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function index()
|
public function index(HTTPRequest $request)
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var Blog $dataRecord
|
* @var Blog $dataRecord
|
||||||
|
|
Loading…
Reference in New Issue