app/helpers/write/application_helper.rb in write-0.2.2 vs app/helpers/write/application_helper.rb in write-0.2.3

- old
+ new

@@ -15,11 +15,15 @@ end words end def head_links - content_for :head, auto_discovery_link_tag(:atom, feed_url, :title => Write.full_title) + + content_for :head, auto_discovery_link_tag(:atom, atom_feed_url, :title => Write.full_title) + stylesheet_link_tag("write/application", :media => "all") + end + + def atom_feed_url + Write.feed_url || feed_url end def post_snippet post truncate_html(Write::MD.render(post.content), :length => 256).html_safe end