work on related tag js

This commit is contained in:
albert
2011-09-30 18:20:29 -04:00
parent 3748934648
commit af8a0aaa76
8 changed files with 141 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
class RelatedTagsController < ApplicationController
respond_to :json
def show
@query = RelatedTagQuery.new(params[:query], params[:category])
respond_with(@query) do |format|
format.json do
render :json => @query.to_json
end
end
end
end