diff options
-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 %> |