comparison app/views/tweets/_tweet.html.erb @ 75:585952f98978

Put the tweet on different paragraph
author nanaya <me@myconan.net>
date Thu, 23 Jun 2016 01:47:33 +0900
parents eecb35eac2f3
children 04ccd0632a71
comparison
equal deleted inserted replaced
74:bdc723f05119 75:585952f98978
8 <p> 8 <p>
9 <%= link_to "https://twitter.com/#{tweet.user.screen_name}" do %> 9 <%= link_to "https://twitter.com/#{tweet.user.screen_name}" do %>
10 <%= image_tag tweet.user.profile_image_url_https %> 10 <%= image_tag tweet.user.profile_image_url_https %>
11 <%= tweet.user.name -%> 11 <%= tweet.user.name -%>
12 <% end %> 12 <% end %>
13 </p>
13 14
14 / 15 <p>
15
16 <%= auto_link(tweet.text).gsub("\n", "<br>").html_safe %> 16 <%= auto_link(tweet.text).gsub("\n", "<br>").html_safe %>
17 </p> 17 </p>
18 18
19 <p> 19 <p>
20 <% tweet.media.each do |media| %> 20 <% tweet.media.each do |media| %>