0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

🐛 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) { downloadTheme(theme) {
let downloadURL = `${this.get('ghostPaths.apiRoot')}/themes/${theme.name}`; let downloadURL = `${this.get('ghostPaths.apiRoot')}/themes/${theme.name}/download/`;
let iframe = $('#iframeDownload'); let iframe = $('#iframeDownload');
if (iframe.length === 0) { if (iframe.length === 0) {