ui: remove nodes debugging

This commit is contained in:
Jack Pearkes 2014-06-04 16:20:32 -04:00
parent c7d4cf8cc7
commit 04db1cbbe0

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