diff options
author | hellekin <hellekin@cepheide.org> | 2021-03-22 15:36:51 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-03-22 15:36:51 +0100 |
commit | fd5ecf679385cb62f149d54f19b82b8599dc72be (patch) | |
tree | 188a3ffcddfc467e3473497886b2052d2b067f30 /app/views/application | |
parent | e0c68ac98124958c3fa51ec011b9b70865fa3984 (diff) | |
download | incommon-map-fd5ecf679385cb62f149d54f19b82b8599dc72be.tar.gz |
[DEBUG] Avoid rendering error with nil class
Diffstat (limited to 'app/views/application')
-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..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 %> |