diff options
author | hellekin <hellekin@cepheide.org> | 2021-02-11 23:55:12 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-02-11 23:55:12 +0100 |
commit | 0b52d059860aa96c8f8c35e5c871bc4fb8a862a2 (patch) | |
tree | 65ca40a41a79caedf5f2a03759430d990627d170 | |
parent | cbbf21de5c26bc8435024ac3f0bd62e69c84341b (diff) | |
download | incommon-map-0b52d059860aa96c8f8c35e5c871bc4fb8a862a2.tar.gz |
[FIX] Prevent debug from failing without a user
-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 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 %> |