GeoRSS aggregator and Layar augmented reality server
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

28 行
541 B

  1. %h1 Feeds
  2. %p= link_to 'Add a feed', new_feed_path, :class => 'button'
  3. %table
  4. %tr
  5. %th Title
  6. %th Link
  7. %th Last fetched
  8. %th
  9. %th
  10. %th
  11. - @feeds.each do |feed|
  12. %tr
  13. %td= link_to feed.title, feed
  14. %td= link_to feed.link, feed.link
  15. %td
  16. - if feed.last_fetched.nil?
  17. never
  18. - else
  19. = time_ago_in_words feed.last_fetched
  20. ago
  21. %td= link_to 'Edit', edit_feed_path(feed)
  22. %td= link_to 'Destroy', feed, :confirm => 'Are you sure?', :method => :delete