mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Making allowed_actions explicit on some core controllers (thanks cbarberis, fixes pull request #1)
This commit is contained in:
parent
f4c3ad23de
commit
023ac994e9
@ -21,6 +21,12 @@
|
||||
* @subpackage export
|
||||
*/
|
||||
class StaticExporter extends Controller {
|
||||
|
||||
static $allowed_actions = array(
|
||||
'index',
|
||||
'export',
|
||||
);
|
||||
|
||||
function init() {
|
||||
parent::init();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user