|
@@ -66,11 +66,11 @@ |
|
|
block discarded – undo |
|
66
|
66
|
public function getModel($name = '') { |
|
67
|
67
|
$base = Director::absoluteBaseURL(); |
|
68
|
68
|
return [ |
|
69
|
|
- 'basename' => Director::baseURL() . $this->getCurrentEnvironment()->Link('overview'), |
|
|
69
|
+ 'basename' => Director::baseURL().$this->getCurrentEnvironment()->Link('overview'), |
|
70
|
70
|
'dispatchers' => [ |
|
71
|
|
- 'git' => $base . $this->getCurrentProject()->Link('git'), |
|
72
|
|
- 'plan' => $base . $this->getCurrentEnvironment()->Link('plan'), |
|
73
|
|
- 'deploys' => $base . $this->getCurrentEnvironment()->Link('deploys') |
|
|
71
|
+ 'git' => $base.$this->getCurrentProject()->Link('git'), |
|
|
72
|
+ 'plan' => $base.$this->getCurrentEnvironment()->Link('plan'), |
|
|
73
|
+ 'deploys' => $base.$this->getCurrentEnvironment()->Link('deploys') |
|
74
|
74
|
], |
|
75
|
75
|
'api_auth' => [ |
|
76
|
76
|
'name' => $this->getSecurityToken()->getName(), |
Please login to merge, or discard this patch.