diff app/views/tweets/_tweet.html.erb @ 257:c6a50441a58d

It's now X
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:48:25 +0900
parents d726e8b92dd1
children
line wrap: on
line diff
--- a/app/views/tweets/_tweet.html.erb	Sun Dec 15 22:48:13 2024 +0900
+++ b/app/views/tweets/_tweet.html.erb	Sun Dec 15 22:48:25 2024 +0900
@@ -16,7 +16,7 @@
       <small>
         Replying to
         <%= link_to 'tweet', status_url_base(tweet[:reply_to_username], tweet[:reply_to_id]) %>
-        by <%= link_to "@#{tweet[:reply_to_username]}", "https://twitter.com/#{tweet[:reply_to_username]}" %>
+        by <%= link_to "@#{tweet[:reply_to_username]}", "https://x.com/#{tweet[:reply_to_username]}" %>
       </small>
     </p>
   <% end %>
@@ -32,7 +32,7 @@
   </p>
 
   <p>
-    <%= link_to "https://twitter.com/#{tweet[:user][:username]}" do %>
+    <%= link_to "https://x.com/#{tweet[:user][:username]}" do %>
       <%= image_tag tweet[:user][:avatar_url].to_s, :alt => "profile image for #{tweet[:user][:name].printable}" %>
       <%= tweet[:user][:name].printable -%>
     <% end %>