ui: remove nodes debugging

This commit is contained in:
Jack Pearkes 2014-06-04 16:20:32 -04:00
parent 406fc3a157
commit 317f827ad7
1 changed files with 1 additions and 2 deletions

View File

@ -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));