ui: remove nodes debugging

pull/194/head
Jack Pearkes 11 years ago
parent 406fc3a157
commit 317f827ad7

@ -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…
Cancel
Save