Fix the user show page in the verify task

上级 5ae48c43
......@@ -213,7 +213,9 @@
description %>\n</p>
<p>
<%= image_tag @user.avatar.representation(resize_to_fit: [500, 500]) %>
<% if @user.avatar.attached? -%>
<%= image_tag @user.avatar.representation(resize_to_fit: [500, 500]) %>
<% end -%>
</p>
CODE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册