posts: remove unused file path / url methods.
* Remove file_path_for, cropped_file_url (dead code) * Remove complete_preview_file_url (preview_file_url now returns absolute links) * Remove `file_name` (only used for Download link in sidebar)
This commit is contained in:
@@ -49,7 +49,7 @@ protected
|
||||
|
||||
def create_by_post
|
||||
@post = Post.find(params[:post_id])
|
||||
@download = Iqdb::Download.new(@post.complete_preview_file_url)
|
||||
@download = Iqdb::Download.new(@post.preview_file_url)
|
||||
@download.find_similar
|
||||
@results = @download.matches
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user