Mercurial > rsstweet
changeset 201:40c828f83657
Using query string seems to be a bit more stable now?
author | nanaya <me@nanaya.pro> |
---|---|
date | Sat, 22 Aug 2020 04:38:11 +0900 |
parents | 168318b7d11e |
children | d12f671185a8 |
files | app/views/tweets/_tweet.html.erb |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/app/views/tweets/_tweet.html.erb Thu Aug 06 23:08:59 2020 +0900 +++ b/app/views/tweets/_tweet.html.erb Sat Aug 22 04:38:11 2020 +0900 @@ -35,8 +35,8 @@ <p> <% tweet.media.each_with_index do |media, i| %> <% if media.is_a? Twitter::Media::Photo %> - <%= link_to "#{media.media_url_https}:orig" do %> - <%= image_tag "#{media.media_url_https}:small", :alt => "attachment #{i + 1}" -%> + <%= link_to "#{media.media_url_https}?name=orig" do %> + <%= image_tag "#{media.media_url_https}?name=small", :alt => "attachment #{i + 1}" -%> <% end %> <% elsif media.is_a? Twitter::Media::Video %> <%= video_tag media.video_info.variants