From ae70053a49e8257b5faa49b25127fab2f06e1146 Mon Sep 17 00:00:00 2001 From: Albert Yi Date: Tue, 24 Jul 2018 17:01:58 -0700 Subject: [PATCH] direct link to post for burs --- app/views/bulk_update_requests/_listing.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/bulk_update_requests/_listing.html.erb b/app/views/bulk_update_requests/_listing.html.erb index 7ee8c317d..7119a27b7 100644 --- a/app/views/bulk_update_requests/_listing.html.erb +++ b/app/views/bulk_update_requests/_listing.html.erb @@ -15,7 +15,9 @@ <%= link_to_user(request.user) %> <% if request.approver %><%= link_to_user(request.approver) %><% end %> - <% if request.forum_topic_id %> + <% if request.forum_post_id %> + <%= link_to(request.forum_topic_id, forum_topic_path(request.forum_topic_id, page: request.forum_post.forum_topic_page, :anchor => "forum_post_#{request.forum_post.id}")) %> + <% elsif request.forum_topic_id %> <%= link_to(request.forum_topic_id, forum_topic_path(request.forum_topic_id)) %> <% end %>