summaryrefslogtreecommitdiffstats
path: root/client/components/activities
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-10-08 23:25:04 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-10-08 23:28:27 +0200
commita78debc461944f55de246db15a1dd29353dec4ae (patch)
treee49b55895c5376c613dcc3512d56a5d89246b095 /client/components/activities
parentc804813e5f5fdffb8a7deca72737b65f052ea28a (diff)
downloadwekan-a78debc461944f55de246db15a1dd29353dec4ae.tar.gz
wekan-a78debc461944f55de246db15a1dd29353dec4ae.tar.bz2
wekan-a78debc461944f55de246db15a1dd29353dec4ae.zip
Support app deployment under a path prefix
Fixes #133
Diffstat (limited to 'client/components/activities')
-rw-r--r--client/components/activities/activities.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/activities/activities.js b/client/components/activities/activities.js
index 5c5d8370..9a1435ef 100644
--- a/client/components/activities/activities.js
+++ b/client/components/activities/activities.js
@@ -55,7 +55,7 @@ BlazeComponent.extendComponent({
cardLink() {
const card = this.currentData().card();
return card && Blaze.toHTML(HTML.A({
- href: card.absoluteUrl(),
+ href: FlowRouter.path(card.absoluteUrl()),
'class': 'action-card',
}, card.title));
},
@@ -69,7 +69,7 @@ BlazeComponent.extendComponent({
attachmentLink() {
const attachment = this.currentData().attachment();
return attachment && Blaze.toHTML(HTML.A({
- href: attachment.url({ download: true }),
+ href: FlowRouter.path(attachment.url({ download: true })),
target: '_blank',
}, attachment.name()));
},