missed closing paren

This commit is contained in:
Jeff Atwood
2015-01-19 01:29:02 -08:00
parent 4cb6606e8c
commit dae39b5b71

View File

@@ -27,7 +27,7 @@ if Rails.env.production?
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ }), Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ }),
# suppress trackback spam bots submitting to random URLs # suppress trackback spam bots submitting to random URLs
# test for the presence of these params: url, title, excerpt, blog_name # test for the presence of these params: url, title, excerpt, blog_name
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { params: { url: /./, title: /./, excerpt: /./, blog_name: /./} }, Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { params: { url: /./, title: /./, excerpt: /./, blog_name: /./} }),
# API calls, TODO fix this in rails # API calls, TODO fix this in rails
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /api_key/ }) Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /api_key/ })