Selaa lähdekoodia

Fixed nil date bug

master
Adrian Short 12 vuotta sitten
vanhempi
commit
3310d2ccda
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. +3
    -1
      app/views/feeds/show.html.haml

+ 3
- 1
app/views/feeds/show.html.haml Näytä tiedosto

@@ -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)
\|


Ladataan…
Peruuta
Tallenna