diff app/views/tweets/_tweet.html.erb @ 132:bedb7e2e16ed

Oh whoops
author nanaya <me@nanaya.pro>
date Sun, 01 Oct 2017 04:07:21 +0900
parents 4b5568b4a533
children 950849c40d42
line wrap: on
line diff
--- a/app/views/tweets/_tweet.html.erb	Sun Oct 01 04:04:35 2017 +0900
+++ b/app/views/tweets/_tweet.html.erb	Sun Oct 01 04:07:21 2017 +0900
@@ -5,7 +5,7 @@
 
   <%= render "tweet", :tweet => tweet.retweeted_status, :with_time => true %>
 <% else%>
-  <% if defined? :with_time && with_time %>
+  <% if defined?(with_time) && with_time %>
     <p>
       <small>Originally tweeted at <%= tweet.created_at.to_s :rfc822 %></small>
     </p>