fix session data loading in settings/labs

closes #5973
- updating session data loading to new esa 1.0 api
This commit is contained in:
Austin Burdine 2015-10-20 07:50:41 -05:00
parent c3d656ad2c
commit 58f7c8f6b2
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ export default Ember.Controller.extend({
exportData: function () {
var iframe = $('#iframeDownload'),
downloadURL = this.get('ghostPaths.url').api('db') +
'?access_token=' + this.get('session.secure.access_token');
'?access_token=' + this.get('session.data.authenticated.access_token');
if (iframe.length === 0) {
iframe = $('<iframe>', {id: 'iframeDownload'}).hide().appendTo('body');