diff --git a/controllers/BookmarkController.php b/controllers/BookmarkController.php index 927d3dc..8924dc7 100644 --- a/controllers/BookmarkController.php +++ b/controllers/BookmarkController.php @@ -18,7 +18,7 @@ class BookmarkController extends ContentContainerController /** * @inheritdoc */ - public function getAccessRules() + protected function getAccessRules() { return [ [ControllerAccess::RULE_LOGGED_IN_ONLY => ['update']], diff --git a/controllers/SavedController.php b/controllers/SavedController.php index 26c11c0..27becc7 100644 --- a/controllers/SavedController.php +++ b/controllers/SavedController.php @@ -18,7 +18,7 @@ class SavedController extends ContentContainerController /** * @inheritdoc */ - public function getAccessRules() + protected function getAccessRules() { return [ [ControllerAccess::RULE_LOGGED_IN_ONLY => ['index']], diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 46efc2d..4354760 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -6,6 +6,7 @@ Changelog - Fix: Translation category for 'You didn\'t save any content yet!' - Enh: Improvement and addition of French translations - Enh #23: Tests for `next` version +- Fix #24: Fix visibility of the method `Controller::getAccessRules()` 1.0.1 (June 13, 2021)