diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-11-07 23:52:04 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-11-16 14:58:08 +0300 |
commit | 26664203eed786961c47eb23bea4fefd89ac3503 (patch) | |
tree | c7cf0c60feb74b020cba839e325e4d237448f1aa /app/assets/javascripts/environments/services | |
parent | 2207528c376f0c64469f077f82dfb49a3f7e7993 (diff) |
Small fixes
Diffstat (limited to 'app/assets/javascripts/environments/services')
-rw-r--r-- | app/assets/javascripts/environments/services/environments_service.js.es6 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/javascripts/environments/services/environments_service.js.es6 b/app/assets/javascripts/environments/services/environments_service.js.es6 index 6e0f5b431e3..e10dd87f7ce 100644 --- a/app/assets/javascripts/environments/services/environments_service.js.es6 +++ b/app/assets/javascripts/environments/services/environments_service.js.es6 @@ -1,6 +1,8 @@ +/* globals Vue */ +/* eslint-disable no-unused-vars, no-param-reassign */ class EnvironmentsService { - constructor (root) { + constructor(root) { Vue.http.options.root = root; this.environments = Vue.resource(root); @@ -11,7 +13,7 @@ class EnvironmentsService { }); } - all () { + all() { return this.environments.get(); } -}; +} |