summaryrefslogtreecommitdiff
path: root/engines/support/app/views/tickets/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'engines/support/app/views/tickets/new.html.haml')
-rw-r--r--engines/support/app/views/tickets/new.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/support/app/views/tickets/new.html.haml b/engines/support/app/views/tickets/new.html.haml
index 8f217a5..ba86ac3 100644
--- a/engines/support/app/views/tickets/new.html.haml
+++ b/engines/support/app/views/tickets/new.html.haml
@@ -1,4 +1,4 @@
-- @show_navigation = !params[:user_id].nil?
+- @show_navigation = params[:user_id].present?
= render 'tickets/tabs'
@@ -27,4 +27,4 @@
- if logged_in?
= link_to t(:cancel), auto_tickets_path, :class => :btn
- else
- = link_to t(:cancel), home_path, :class => 'btn' \ No newline at end of file
+ = link_to t(:cancel), home_path, :class => 'btn'