diff --git a/app/views/feeds/show.html.haml b/app/views/feeds/show.html.haml index 1ebf2f5..e08e223 100644 --- a/app/views/feeds/show.html.haml +++ b/app/views/feeds/show.html.haml @@ -24,7 +24,9 @@ %td= link_to p.title, p.url %td= p.loc['lat'] %td= p.loc['lng'] - %td= p.published.strftime("%d %b %Y %H:%M") + %td + - unless p.published.nil? + = p.published.strftime("%d %b %Y %H:%M") = link_to 'Edit', edit_feed_path(@feed) \|