Skip to content

Commit 9091fbe

Browse files
committed
Fix message links on the profile page
They tried to load inside the profile turbo frame and that didn't work. Also points directly to the message, not to the top of the thread.
1 parent deca280 commit 9091fbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/shared/profile/_recent_threads.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
- when :sent_followup_patch
6363
span.activity-tag.tag-patch Follow-up patch
6464
td
65-
= link_to topic.title, topic_path(topic), class: "activity-topic"
65+
= link_to topic.title, topic_path(topic, anchor: "message-#{entry[:message].id}"), class: "activity-topic", data: { turbo_frame: "_top" }
6666
td
6767
= time_ago_in_words(entry[:sent_at])
6868
| ago

0 commit comments

Comments
 (0)