Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Neff <benjamin@coding4coffee.ch>2016-09-16 23:08:11 +0300
committerSteffen van Bergerem <svbergerem@online.de>2016-09-18 14:41:44 +0300
commit5837919946f2dad2c1fb677da65f665c08368214 (patch)
tree2e68acd929ea3e1bb3cc5dcab38f64fb64ac677c /app/helpers
parent9c93691b8af61a7b5a7e452dd3c3857709e020e5 (diff)
Fix link to comment on report-page
closes #7105
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/report_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/report_helper.rb b/app/helpers/report_helper.rb
index 9eb017843..5a6f1e0e3 100644
--- a/app/helpers/report_helper.rb
+++ b/app/helpers/report_helper.rb
@@ -10,7 +10,7 @@ module ReportHelper
when Comment
raw t("report.comment_label", data: link_to(
h(comment_message(item)),
- post_path(item.post.id, anchor: item.author.guid)
+ post_path(item.post.id, anchor: item.guid)
))
else
raw t("report.not_found")