summaryrefslogtreecommitdiff
path: root/engines/support/app/views/tickets/show.html.haml
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-05-13 16:23:10 +0200
committerAzul <azul@riseup.net>2016-05-14 10:47:35 +0200
commita1b494e334406660a1f49fb7de9b043493809640 (patch)
tree16b86b0d85e01cb783ca79caa37b1c3a183ef7bd /engines/support/app/views/tickets/show.html.haml
parentaeb0f39362b2195d4aec418349538b5f8443f693 (diff)
ensure invalid user ids still render the ticket form
We still have strange urls requested like /pt/users/AnonymousUser.../tickets/new Not sure where they are coming from - but this should make sure we respond with sth. meaningful instead of erroring out. Conflicts: app/views/layouts/_content.html.haml
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, 0 insertions, 2 deletions
diff --git a/engines/support/app/views/tickets/show.html.haml b/engines/support/app/views/tickets/show.html.haml
index 99afa2a..a625870 100644
--- a/engines/support/app/views/tickets/show.html.haml
+++ b/engines/support/app/views/tickets/show.html.haml
@@ -1,5 +1,3 @@
-- @show_navigation = params[:user_id].present?
-
.ticket
= render 'tickets/edit_form'
= render 'tickets/comments'