🐛 Fixed theme download links (#1053)

closes https://github.com/TryGhost/Ghost/issues/10011
- theme download URLs were missing the `/download/` portion
This commit is contained in:
Kevin Ansfield 2018-10-15 13:18:44 +02:00 committed by GitHub
parent dddf196c55
commit 8a43351d8e

View File

@ -171,7 +171,7 @@ export default Controller.extend({
},
downloadTheme(theme) {
let downloadURL = `${this.get('ghostPaths.apiRoot')}/themes/${theme.name}`;
let downloadURL = `${this.get('ghostPaths.apiRoot')}/themes/${theme.name}/download/`;
let iframe = $('#iframeDownload');
if (iframe.length === 0) {