aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-02-11 23:55:12 +0100
committerhellekin <hellekin@cepheide.org>2021-02-11 23:55:12 +0100
commit0b52d059860aa96c8f8c35e5c871bc4fb8a862a2 (patch)
tree65ca40a41a79caedf5f2a03759430d990627d170 /app
parentcbbf21de5c26bc8435024ac3f0bd62e69c84341b (diff)
downloadincommon-map-0b52d059860aa96c8f8c35e5c871bc4fb8a862a2.tar.gz
[FIX] Prevent debug from failing without a user
Diffstat (limited to 'app')
-rw-r--r--app/views/application/_user_info.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_user_info.html.erb b/app/views/application/_user_info.html.erb
index a1a42d2..07318bd 100644
--- a/app/views/application/_user_info.html.erb
+++ b/app/views/application/_user_info.html.erb
@@ -13,5 +13,5 @@
</section>
<% content_for :debug do %>
-<%= @current_user.avatar_url %>
+ <%= @current_user.avatar_url if @current_user %>
<% end %>