summaryrefslogtreecommitdiff
path: root/lib/postrunner/ActivityLink.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/postrunner/ActivityLink.rb')
-rw-r--r--lib/postrunner/ActivityLink.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/postrunner/ActivityLink.rb b/lib/postrunner/ActivityLink.rb
index 9c368b0..77898e6 100644
--- a/lib/postrunner/ActivityLink.rb
+++ b/lib/postrunner/ActivityLink.rb
@@ -30,7 +30,7 @@ module PostRunner
doc.unique(:activitylink_style) { doc.style(style) }
doc.a(@activity.name, { :class => 'activity_link',
- :href => @activity.fit_file[0..-5] + '.html' })
+ :href => @activity.html_file_name(false) })
if @show_record_icon && @activity.has_records?
doc.img(nil, { :src => 'icons/record-small.png',
:style => 'vertical-align:middle' })