added post atom feed

This commit is contained in:
albert
2011-11-11 17:50:26 -05:00
parent 04d52d86bf
commit 41d2634304
3 changed files with 39 additions and 2 deletions

View File

@@ -6,7 +6,9 @@ class PostsController < ApplicationController
def index
@post_set = PostSets::Post.new(tag_query, params[:page])
@posts = @post_set.posts
respond_with(@posts)
respond_with(@posts) do |format|
format.atom
end
end
def show