aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 %>