* Refactor iqdb response collection

This commit is contained in:
r888888888
2014-05-08 16:42:16 -07:00
parent d46042f038
commit 6de67da280
7 changed files with 7 additions and 18 deletions

View File

@@ -24,7 +24,7 @@ protected
def create_by_post
@post = Post.find(params[:post_id])
@results = Iqdb::Server.default.similar(@post.id, 3)
@results = Iqdb::Server.default.query(3, @post.preview_file_path)
render :layout => false, :action => "create_by_post"
end
end