Permalink
Browse files

Use namespaced URL when checking for existing notices.

  • Loading branch information...
1 parent ef02384 commit 2f1fed2d5acd18e3b3e8257714220583c009a2b1 @tristandunn tristandunn committed Nov 9, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/templates/rescue.erb
View
@@ -27,7 +27,8 @@ var Hoptoad = {
var
script = document.createElement('script');
- script.src = 'http://' + this.host + '/notices/exist?' + data.join('&');
+ script.src = 'http://' + this.host + '/notices_api/v1/notices/exist?' +
+ data.join('&');
script.type = 'text/javascript';
script.onload = script.onreadystatechange = function(){
if (!done && (!this.readyState ||

0 comments on commit 2f1fed2

Please sign in to comment.