Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SebouChu committed Jan 27, 2025
1 parent 71426bd commit a2c9a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/osuny/media/picker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def credit
end

def url
@url ||= image.attached? ? "/media/#{ image&.signed_id }/preview.jpg" : ''
@url ||= image.attached? ? "/media/#{image.signed_id}/preview.jpg" : ''
end

def about_type
Expand Down

0 comments on commit a2c9a1f

Please sign in to comment.