diff options
author | hellekin <hellekin@cepheide.org> | 2021-02-11 23:59:57 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-02-11 23:59:57 +0100 |
commit | ddfafc95dfc891f6751c0522db2afc7bf1b5b31a (patch) | |
tree | 6ce5ae31cc41705272d7953209c5157f78f2861f /app/views | |
parent | 0b52d059860aa96c8f8c35e5c871bc4fb8a862a2 (diff) | |
download | incommon-map-ddfafc95dfc891f6751c0522db2afc7bf1b5b31a.tar.gz |
[FIX] Prevent debug from failing without a user
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/application/_user_info.html.erb | 2 |
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 %> |