From 11984fe8eda04383bd8e04161cde270c49244638 Mon Sep 17 00:00:00 2001 From: Toks Date: Wed, 7 Aug 2013 20:15:35 -0400 Subject: [PATCH] #1902: Add forum/comment creator data --- app/views/comments/partials/show/_comment.html.erb | 2 +- app/views/forum_posts/_forum_post.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/comments/partials/show/_comment.html.erb b/app/views/comments/partials/show/_comment.html.erb index 603203681..000742520 100644 --- a/app/views/comments/partials/show/_comment.html.erb +++ b/app/views/comments/partials/show/_comment.html.erb @@ -1,4 +1,4 @@ -
+

<%= link_to_user comment.creator %>

diff --git a/app/views/forum_posts/_forum_post.html.erb b/app/views/forum_posts/_forum_post.html.erb index 0ce2df790..256ba2101 100644 --- a/app/views/forum_posts/_forum_post.html.erb +++ b/app/views/forum_posts/_forum_post.html.erb @@ -1,5 +1,5 @@ <% if CurrentUser.is_janitor? || !forum_post.is_deleted? %> -

+

<%= link_to_user forum_post.creator %>