mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge pull request #39 from dhensby/pulls/4/admin-url-fix
FIX Use new admin_url
This commit is contained in:
commit
8a5741aa00
@ -159,7 +159,7 @@ class SS_Report extends ViewableData
|
|||||||
public function getLink($action = null)
|
public function getLink($action = null)
|
||||||
{
|
{
|
||||||
return Controller::join_links(
|
return Controller::join_links(
|
||||||
Config::inst()->get('AdminRootController', 'url_base'),
|
AdminRootController::admin_url(),
|
||||||
Config::inst()->get('ReportAdmin', 'url_segment'),
|
Config::inst()->get('ReportAdmin', 'url_segment'),
|
||||||
get_class($this),
|
get_class($this),
|
||||||
$action
|
$action
|
||||||
|
Loading…
Reference in New Issue
Block a user