1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix the user show page in the verify task

This commit is contained in:
Rafael Mendonça França 2019-01-18 15:39:39 -05:00
parent 5ae48c43a2
commit ea83132e0e
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948

View file

@ -213,7 +213,9 @@ namespace :all do
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