diff --git a/ui/javascripts/app/routes.js b/ui/javascripts/app/routes.js index 1a2c4e03b7..a0ca25b06d 100644 --- a/ui/javascripts/app/routes.js +++ b/ui/javascripts/app/routes.js @@ -92,6 +92,8 @@ App.DcRoute = App.BaseRoute.extend({ // Return a promise hash to retreieve the // dcs and nodes used in the header + var token = App.get('settings.token'); + return Ember.RSVP.hash({ dc: params.dc, dcs: Ember.$.getJSON('/v1/catalog/datacenters'),