mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
RequestHandler updateLink() extension point
This commit is contained in:
parent
2c121e8a07
commit
0fe56732af
@ -560,6 +560,8 @@ class RequestHandler extends ViewableData
|
||||
// Check configured url_segment
|
||||
$url = $this->config()->get('url_segment');
|
||||
if ($url) {
|
||||
// Give extensions the chance to modify by reference
|
||||
$this->extend('updateLink', $link, $action);
|
||||
return Controller::join_links($url, $action, '/');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user