app/helpers/kublog/posts_helper.rb in kublog-0.0.1.1 vs app/helpers/kublog/posts_helper.rb in kublog-0.9.0

- old
+ new

@@ -32,7 +32,11 @@ def admin_comment?(comment) comment.admin? ? 'admin' : '' end + def atom_url(presenter) + presenter.category.nil? ? posts_url(:format => :atom) : category_url(presenter.category, :format => :atom) + end + end end