public function Link($action = null)
    {
        if ($this->currentRecord) {
            return Controller::join_links($this->parentController->Link(), "/{$this->currentRecord->ID}/{$action}");
        } else {
            return $this->parentController->Link();
        }

    }