From 55e9e26558a28155e0bebe79855a1699df147729 Mon Sep 17 00:00:00 2001 From: Will Dawber Date: Mon, 27 Aug 2018 10:14:17 +1200 Subject: [PATCH] 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 --- src/Model/BlogController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/BlogController.php b/src/Model/BlogController.php index 7972346..f07e659 100644 --- a/src/Model/BlogController.php +++ b/src/Model/BlogController.php @@ -62,7 +62,7 @@ class BlogController extends PageController /** * @return string */ - public function index() + public function index(HTTPRequest $request) { /** * @var Blog $dataRecord