ignore routing errors on multisite

This commit is contained in:
Sam 2015-05-06 12:47:30 +10:00
parent 19e5304813
commit c96a057395

View file

@ -21,7 +21,10 @@ if Rails.env.production?
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { params: { url: /./, title: /./, excerpt: /./, blog_name: /./} }),
# 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/ }),
# no route, can happen in multisite for some reason, ignore
Logster::IgnorePattern.new(/^ActionController::RoutingError \(No route matches/)
]
end