Fix build

This commit is contained in:
Sam 2014-07-29 12:47:26 +10:00
parent 1dcc10d035
commit 1c25f00615

View file

@ -1,10 +1,10 @@
if Rails.env.production? if Rails.env.production?
Logster.store.ignore = [ # Logster.store.ignore = [
# honestly, Rails should not be logging this, its real noisy # # honestly, Rails should not be logging this, its real noisy
/^ActionController::RoutingError \(No route matches/, # /^ActionController::RoutingError \(No route matches/,
# suppress trackback spam bots # # suppress trackback spam bots
Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ }) # Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ })
] # ]
Logster.config.authorize_callback = lambda{|env| Logster.config.authorize_callback = lambda{|env|
user = CurrentUser.lookup_from_env(env) user = CurrentUser.lookup_from_env(env)