mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
Update GoogleSitemapController.php
allowed_actions modified from private to public
This commit is contained in:
parent
a233c2d514
commit
ea508d5179
@ -17,7 +17,7 @@ class GoogleSitemapController extends Controller {
|
|||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
private static $allowed_actions = array(
|
public static $allowed_actions = array(
|
||||||
'index',
|
'index',
|
||||||
'sitemap'
|
'sitemap'
|
||||||
);
|
);
|
||||||
@ -70,4 +70,4 @@ class GoogleSitemapController extends Controller {
|
|||||||
return new SS_HTTPResponse('Page not found', 404);
|
return new SS_HTTPResponse('Page not found', 404);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user