|
From: | noreply |
Subject: | [myexperiment-hackers] [3512] trunk/app/views/contributions/_user_report.rhtml: fixed issue with comment reporting when not logged in |
Date: | Sun, 14 Apr 2013 10:11:22 +0000 (UTC) |
fixed issue with comment reporting when not logged in
--- trunk/app/views/contributions/_user_report.rhtml 2013-04-12 13:45:28 UTC (rev 3511)
+++ trunk/app/views/contributions/_user_report.rhtml 2013-04-14 10:11:21 UTC (rev 3512)
@@ -1,4 +1,4 @@
-<% if current_user %>
+<% if logged_in? %>
<% div_name = "report#{subject.class.name}#{subject.id}" %>
<% if UserReport.find_by_user_id_and_subject_type_and_subject_id(current_user.id, subject.class.name, subject.id) %>
<small>
[Prev in Thread] | Current Thread | [Next in Thread] |