diff options
author | Azul <azul@riseup.net> | 2016-05-13 16:23:10 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-05-13 16:45:45 +0200 |
commit | 12e6c096088a8fb5947a854d2dd385156319b8a6 (patch) | |
tree | 4fb0e79ae15a17e8693f4fd660108a1e0632d0be /app/views | |
parent | c52d6bb25702fafb60bf9d8dfb9c1afbd77062c0 (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.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/_content.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_content.html.haml b/app/views/layouts/_content.html.haml index d5c2fa3..07f9189 100644 --- a/app/views/layouts/_content.html.haml +++ b/app/views/layouts/_content.html.haml @@ -7,7 +7,7 @@ - else - content = yield -- if @show_navigation +- if @show_navigation && @user .span2 = render 'layouts/navigation' .span10 |