posts/show: rename tags params to q in various places.

Fixup for 011a6f1f7.
This commit is contained in:
evazion
2018-10-30 11:32:07 -05:00
parent 011a6f1f7c
commit 39374a70d3
6 changed files with 12 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ class PostSearchContext
def initialize(params)
@id = params[:id].to_i
@seq = params[:seq]
@tags = params[:tags].presence || "status:any"
@tags = params[:q].presence || "status:any"
end
def post_id