aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-02-11 23:59:57 +0100
committerhellekin <hellekin@cepheide.org>2021-02-11 23:59:57 +0100
commitddfafc95dfc891f6751c0522db2afc7bf1b5b31a (patch)
tree6ce5ae31cc41705272d7953209c5157f78f2861f
parent0b52d059860aa96c8f8c35e5c871bc4fb8a862a2 (diff)
downloadincommon-map-ddfafc95dfc891f6751c0522db2afc7bf1b5b31a.tar.gz
[FIX] Prevent debug from failing without a user
-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 07318bd..2b243d8 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 if @current_user %>
+ <%= @current_user&.avatar_url if @current_user %>
<% end %>