RequestHandler updateLink() extension point

This commit is contained in:
Ingo Schommer 2018-03-20 15:08:29 +13:00
parent 2c121e8a07
commit 0fe56732af

View File

@ -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, '/');
}