diff app/views/tweets/_tweet.html.erb @ 150:950849c40d42

Update all the things, including rails 5.2
author nanaya <me@nanaya.pro>
date Wed, 31 Jan 2018 15:04:03 +0900
parents bedb7e2e16ed
children 3943833e973c
line wrap: on
line diff
--- a/app/views/tweets/_tweet.html.erb	Sat Jan 13 03:16:35 2018 +0900
+++ b/app/views/tweets/_tweet.html.erb	Wed Jan 31 15:04:03 2018 +0900
@@ -25,7 +25,7 @@
 
   <p>
     <%= link_to "https://twitter.com/#{tweet.user.screen_name}" do %>
-      <%= image_tag tweet.user.profile_image_url_https, :alt => "profile image for #{tweet.user.name.printable}" %>
+      <%= image_tag tweet.user.profile_image_url_https.to_s, :alt => "profile image for #{tweet.user.name.printable}" %>
       <%= tweet.user.name.printable -%>
     <% end %>
   </p>