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:
parent
5ae48c43a2
commit
ea83132e0e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue