fixes #869
This commit is contained in:
@@ -2,7 +2,7 @@ class RelatedTagsController < ApplicationController
|
|||||||
respond_to :json
|
respond_to :json
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@query = RelatedTagQuery.new(params[:query], params[:category])
|
@query = RelatedTagQuery.new(params[:query].to_s.downcase, params[:category])
|
||||||
respond_with(@query) do |format|
|
respond_with(@query) do |format|
|
||||||
format.json do
|
format.json do
|
||||||
render :json => @query.to_json
|
render :json => @query.to_json
|
||||||
|
|||||||
Reference in New Issue
Block a user