summaryrefslogtreecommitdiff
path: root/engines/support/app/views/tickets/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'engines/support/app/views/tickets/show.html.haml')
-rw-r--r--engines/support/app/views/tickets/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/support/app/views/tickets/show.html.haml b/engines/support/app/views/tickets/show.html.haml
index bbca4bf..4f3c127 100644
--- a/engines/support/app/views/tickets/show.html.haml
+++ b/engines/support/app/views/tickets/show.html.haml
@@ -7,6 +7,6 @@
= render :partial => 'tickets/comment', :collection => @ticket.comments
%tr
%td.user
- = logged_in? ? current_user.login : t(:anonymous)
+ = current_user.login || t(:anonymous)
%td.comment
= render 'tickets/new_comment_form'