ui: remove nodes debugging
This commit is contained in:
parent
c7d4cf8cc7
commit
04db1cbbe0
|
@ -243,8 +243,7 @@ App.NodesRoute = App.BaseRoute.extend({
|
|||
model: function(params) {
|
||||
var dc = this.modelFor('dc').dc
|
||||
// Return a promise containing the nodes
|
||||
// return Ember.$.getJSON('/v1/internal/ui/nodes?dc=' + dc).then(function(data) {
|
||||
return Ember.$.getJSON('/ui/nodes.json').then(function(data) {
|
||||
return Ember.$.getJSON('/v1/internal/ui/nodes?dc=' + dc).then(function(data) {
|
||||
objs = [];
|
||||
data.map(function(obj){
|
||||
objs.push(App.Node.create(obj));
|
||||
|
|
Loading…
Reference in a new issue