mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-05 17:21:16 +02:00
BUGFIX: Added allowed_actions to ContentControllerSearchExtension
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@101812 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ffde5144df
commit
cfe081dd8b
@ -4,6 +4,11 @@
|
|||||||
* Extension to provide a search interface when applied to ContentController
|
* Extension to provide a search interface when applied to ContentController
|
||||||
*/
|
*/
|
||||||
class ContentControllerSearchExtension extends Extension {
|
class ContentControllerSearchExtension extends Extension {
|
||||||
|
static $allowed_actions = array(
|
||||||
|
'SearchForm',
|
||||||
|
'results',
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Site search form
|
* Site search form
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user