fixes #1126, raw tag search is accessible via tag alias correction page, can manually tack on raw=true to parameters in post searches to disable tag aliases

This commit is contained in:
r888888888
2013-06-13 14:35:26 -07:00
parent 1757cba4aa
commit d70a7c4ef8
3 changed files with 10 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ class PostsController < ApplicationController
rescue_from ActiveRecord::RecordNotFound, :with => :rescue_exception
def index
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit] || CurrentUser.user.per_page)
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit] || CurrentUser.user.per_page, params[:raw])
@posts = @post_set.posts
respond_with(@posts) do |format|
format.atom