소스 검색

Fixed nil date bug

master
Adrian Short 12 년 전
부모
커밋
3310d2ccda
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      app/views/feeds/show.html.haml

+ 3
- 1
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)
\|


불러오는 중...
취소
저장