about summary refs log tree commit diff
path: root/app/views/admin/pubsubhubbub
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/pubsubhubbub')
-rw-r--r--app/views/admin/pubsubhubbub/index.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/pubsubhubbub/index.html.haml b/app/views/admin/pubsubhubbub/index.html.haml
index 2b8e36e6a..dcbb11c11 100644
--- a/app/views/admin/pubsubhubbub/index.html.haml
+++ b/app/views/admin/pubsubhubbub/index.html.haml
@@ -21,9 +21,9 @@
             %i.fa.fa-check
         %td= distance_of_time_in_words(Time.now, subscription.expires_at)
         %td
-          - if subscription.last_successful_delivery_at.nil?
-            %i.fa.fa-times
-          - else
+          - if subscription.last_successful_delivery_at?
             = l subscription.last_successful_delivery_at
+          - else
+            %i.fa.fa-times
 
 = paginate @subscriptions