This commit is contained in:
Toks
2013-04-24 15:27:40 -04:00
parent 05a6ec6fc5
commit 56436aec08
4 changed files with 32 additions and 2 deletions

View File

@@ -22,6 +22,8 @@ class PostsController < ApplicationController
@post = Post.find(params[:id])
@post_flag = PostFlag.new(:post_id => @post.id)
@post_appeal = PostAppeal.new(:post_id => @post.id)
@parent_post_set = PostSets::Post.new("parent:#{@post.id}")
@child_post_set = PostSets::Post.new("parent:#{@post.parent_id}")
respond_with(@post)
end