From dcdc4e7d682c68075406a2d0bb17c9efa0ea5743 Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Thu, 1 May 2014 10:24:41 -0400 Subject: [PATCH] ui: better error handling --- ui/javascripts/app/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/javascripts/app/routes.js b/ui/javascripts/app/routes.js index d42d078d72..9cb7ed466b 100644 --- a/ui/javascripts/app/routes.js +++ b/ui/javascripts/app/routes.js @@ -58,7 +58,7 @@ App.BaseRoute = Ember.Route.extend({ App.IndexRoute = App.BaseRoute.extend({ // Retrieve the list of datacenters model: function(params) { - return Ember.$.getJSON('/v1/catalog/datacenters').then(function(data) { + return Ember.$.getJSON('/v1/catalog/datacenaters').then(function(data) { return data }) },