|
@@ -70,12 +70,12 @@ |
|
|
block discarded – undo |
|
70
|
70
|
public function getModel($name = '') { |
|
71
|
71
|
$base = Director::absoluteBaseURL(); |
|
72
|
72
|
return [ |
|
73
|
|
- 'basename' => Director::baseURL() . $this->getCurrentEnvironment()->Link(self::ACTION_OVERVIEW), |
|
|
73
|
+ 'basename' => Director::baseURL().$this->getCurrentEnvironment()->Link(self::ACTION_OVERVIEW), |
|
74
|
74
|
'dispatchers' => [ |
|
75
|
|
- 'git' => $base . $this->getCurrentProject()->Link('git'), |
|
76
|
|
- 'plan' => $base . $this->getCurrentEnvironment()->Link('plan'), |
|
77
|
|
- 'deploys' => $base . $this->getCurrentEnvironment()->Link('deploys'), |
|
78
|
|
- 'approvals' => $base . $this->getCurrentEnvironment()->Link('approvals') |
|
|
75
|
+ 'git' => $base.$this->getCurrentProject()->Link('git'), |
|
|
76
|
+ 'plan' => $base.$this->getCurrentEnvironment()->Link('plan'), |
|
|
77
|
+ 'deploys' => $base.$this->getCurrentEnvironment()->Link('deploys'), |
|
|
78
|
+ 'approvals' => $base.$this->getCurrentEnvironment()->Link('approvals') |
|
79
|
79
|
], |
|
80
|
80
|
'api_auth' => [ |
|
81
|
81
|
'name' => $this->getSecurityToken()->getName(), |
Please login to merge, or discard this patch.