diff --git a/code/controllers/StaticExporter.php b/code/controllers/StaticExporter.php index 1cd2ba9e..79890a7d 100644 --- a/code/controllers/StaticExporter.php +++ b/code/controllers/StaticExporter.php @@ -21,6 +21,12 @@ * @subpackage export */ class StaticExporter extends Controller { + + static $allowed_actions = array( + 'index', + 'export', + ); + function init() { parent::init(); diff --git a/tasks/RebuildStaticCacheTask.php b/tasks/RebuildStaticCacheTask.php index 557363d0..c3064340 100644 --- a/tasks/RebuildStaticCacheTask.php +++ b/tasks/RebuildStaticCacheTask.php @@ -6,6 +6,11 @@ * @todo Make this use the Task interface once it gets merged back into trunk */ class RebuildStaticCacheTask extends Controller { + + static $allowed_actions = array( + 'index', + ); + function init() { parent::init();