0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Add access_token to debug screen's export link

Closes #3177
This commit is contained in:
Matt Enlow 2014-07-05 14:47:12 -06:00
parent 7f33eb3f41
commit 8638fb2f1d

View file

@ -2,7 +2,8 @@ var DebugController = Ember.Controller.extend(Ember.Evented, {
uploadButtonText: 'Import',
exportPath: function () {
return this.get('ghostPaths').apiUrl('db');
return this.get('ghostPaths').apiUrl('db') +
'?access_token=' + this.get('session.access_token');
}.property(),
actions: {