Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Making allowed_actions explicit on some core controllers (thank…

…s cbarberis, fixes pull request #1)
  • Loading branch information...
commit 023ac994e940dd6b2474b8caa0c21244e33a0659 1 parent f4c3ad2
@chillu chillu authored
View
6 code/controllers/StaticExporter.php
@@ -21,6 +21,12 @@
* @subpackage export
*/
class StaticExporter extends Controller {
+
+ static $allowed_actions = array(
+ 'index',
+ 'export',
+ );
+
function init() {
parent::init();
View
5 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();

0 comments on commit 023ac99

Please sign in to comment.
Something went wrong with that request. Please try again.