aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-03-22 15:36:51 +0100
committerhellekin <hellekin@cepheide.org>2021-03-22 15:36:51 +0100
commitfd5ecf679385cb62f149d54f19b82b8599dc72be (patch)
tree188a3ffcddfc467e3473497886b2052d2b067f30
parente0c68ac98124958c3fa51ec011b9b70865fa3984 (diff)
downloadincommon-map-fd5ecf679385cb62f149d54f19b82b8599dc72be.tar.gz
[DEBUG] Avoid rendering error with nil class
-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..122ec19 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 %>
<% end %>