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:
Will Dawber 2018-08-27 10:14:17 +12:00 committed by GitHub
parent 7ebae00ad3
commit 55e9e26558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class BlogController extends PageController
/**
* @return string
*/
public function index()
public function index(HTTPRequest $request)
{
/**
* @var Blog $dataRecord