From 2f82caafa228dcf946cb531be56053cd863129e5 Mon Sep 17 00:00:00 2001
From: Sam <sam.saffron@gmail.com>
Date: Wed, 6 May 2015 16:21:59 +1000
Subject: [PATCH] Add ignore for another type of not found

---
 config/initializers/logster.rb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/config/initializers/logster.rb b/config/initializers/logster.rb
index abf61400790..be76f022368 100644
--- a/config/initializers/logster.rb
+++ b/config/initializers/logster.rb
@@ -7,6 +7,8 @@ if Rails.env.production?
 
     /^ActionController::UnknownFormat/,
 
+    /^AbstractController::ActionNotFound/,
+
     # ignore any empty JS errors that contain blanks or zeros for line and column fields
     #
     # Line:
@@ -21,10 +23,7 @@ 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/ }),
-
-    # no route, can happen in multisite for some reason, ignore
-    Logster::IgnorePattern.new(/^ActionController::RoutingError \(No route matches/)
+    Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /api_key/ })
   ]
 end