Additionally:
* Adds basic negated id metatag.
* Post set presenter now uses the post set's tag string, not the
parameter from the URL.
This commit is contained in:
Toks
2013-04-27 11:13:57 -04:00
parent 087c07eb8d
commit 4001689e28
4 changed files with 11 additions and 4 deletions

View File

@@ -22,8 +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}")
@parent_post_set = PostSets::Post.new("parent:#{@post.id} -id:#{@post.id}")
@child_post_set = PostSets::Post.new("id:#{@post.parent_id} status:any")
respond_with(@post)
end