use image url for iqdb proxy
This commit is contained in:
@@ -4,7 +4,8 @@ class IqdbQueriesController < ApplicationController
|
||||
|
||||
def show
|
||||
if params[:url]
|
||||
@matches = IqdbProxy.query(params[:url])
|
||||
strategy = Sources::Strategies.find(params[:url])
|
||||
@matches = IqdbProxy.query(strategy.image_url)
|
||||
end
|
||||
|
||||
if params[:post_id]
|
||||
|
||||
Reference in New Issue
Block a user