Skip to content

Commit 7b1419c

Browse files
committed
fix iqdb query path error
1 parent 144b6ff commit 7b1419c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

app/controllers/iqdb_queries_controller.rb

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ def create
1111
create_by_url
1212
elsif params[:post_id]
1313
create_by_post
14+
else
15+
render :nothing => true, :status => 422
1416
end
1517
end
1618

public/robots.txt

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Disallow: /counts
1111
Disallow: /delayed_jobs
1212
Disallow: /dmails
1313
Disallow: /favorite
14+
Disallow: /iqdb_queries
1415
Disallow: /ip_bans
1516
Disallow: /janitor_trials
1617
Disallow: /maintenance

0 commit comments

Comments
 (0)