ignore routing errors on multisite

This commit is contained in:
Sam 2015-05-06 12:47:30 +10:00
parent 19e5304813
commit c96a057395
1 changed files with 4 additions and 1 deletions

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