Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
ee886f93
Commit
ee886f93
authored
Mar 02, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport EE changes. Service method should be `get` and not `all`
parent
8ec8b2da
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/environments/components/environment.js.es6
...ts/javascripts/environments/components/environment.js.es6
+1
-1
app/assets/javascripts/environments/folder/environments_folder_view.js.es6
...ripts/environments/folder/environments_folder_view.js.es6
+1
-1
app/assets/javascripts/environments/services/environments_service.js.es6
...scripts/environments/services/environments_service.js.es6
+1
-1
No files found.
app/assets/javascripts/environments/components/environment.js.es6
View file @
ee886f93
...
@@ -78,7 +78,7 @@ module.exports = Vue.component('environment-component', {
...
@@ -78,7 +78,7 @@ module.exports = Vue.component('environment-component', {
this.isLoading = true;
this.isLoading = true;
return service.
all
()
return service.
get
()
.then(resp => ({
.then(resp => ({
headers: resp.headers,
headers: resp.headers,
body: resp.json(),
body: resp.json(),
...
...
app/assets/javascripts/environments/folder/environments_folder_view.js.es6
View file @
ee886f93
...
@@ -92,7 +92,7 @@ module.exports = Vue.component('environment-folder-view', {
...
@@ -92,7 +92,7 @@ module.exports = Vue.component('environment-folder-view', {
this.isLoading = true;
this.isLoading = true;
return service.
all
()
return service.
get
()
.then(resp => ({
.then(resp => ({
headers: resp.headers,
headers: resp.headers,
body: resp.json(),
body: resp.json(),
...
...
app/assets/javascripts/environments/services/environments_service.js.es6
View file @
ee886f93
...
@@ -5,7 +5,7 @@ class EnvironmentsService {
...
@@ -5,7 +5,7 @@ class EnvironmentsService {
this.environments = Vue.resource(endpoint);
this.environments = Vue.resource(endpoint);
}
}
all
() {
get
() {
return this.environments.get();
return this.environments.get();
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment