diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-03-02 17:36:30 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-03-02 17:36:30 +0000 |
commit | ee886f934481b79f7b41a11f36c224fbe1583788 (patch) | |
tree | b6c1e145dd956a5445145e03989eb7f03bd7fc01 /app/assets/javascripts/environments/services | |
parent | 8ec8b2da66c27124cf049ca77472f5aabc77b759 (diff) | |
download | gitlab-ce-ee886f934481b79f7b41a11f36c224fbe1583788.tar.gz |
Backport EE changes. Service method should be `get` and not `all`
Diffstat (limited to 'app/assets/javascripts/environments/services')
-rw-r--r-- | app/assets/javascripts/environments/services/environments_service.js.es6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/environments/services/environments_service.js.es6 b/app/assets/javascripts/environments/services/environments_service.js.es6 index 9cef335868e..effc6c4c838 100644 --- a/app/assets/javascripts/environments/services/environments_service.js.es6 +++ b/app/assets/javascripts/environments/services/environments_service.js.es6 @@ -5,7 +5,7 @@ class EnvironmentsService { this.environments = Vue.resource(endpoint); } - all() { + get() { return this.environments.get(); } } |