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.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/support/app/views/tickets/show.html.haml b/engines/support/app/views/tickets/show.html.haml
index bfdb773..bbca4bf 100644
--- a/engines/support/app/views/tickets/show.html.haml
+++ b/engines/support/app/views/tickets/show.html.haml
@@ -1,4 +1,4 @@
-- @show_navigation = !params[:user_id].nil?
+- @show_navigation = params[:user_id].present?
.ticket
= render 'tickets/edit_form'
@@ -9,4 +9,4 @@
%td.user
= logged_in? ? current_user.login : t(:anonymous)
%td.comment
- = render 'tickets/new_comment_form' \ No newline at end of file
+ = render 'tickets/new_comment_form'