Skip to content

Instantly share code, notes, and snippets.

@ohadlevy
Created December 6, 2017 18:33
Show Gist options
  • Save ohadlevy/1539a958437e19744417527a9d1a2dd8 to your computer and use it in GitHub Desktop.
Save ohadlevy/1539a958437e19744417527a9d1a2dd8 to your computer and use it in GitHub Desktop.
diff --git a/config/application.rb b/config/application.rb
index 2363f59..23ccdf8 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -179,7 +179,7 @@ module Foreman
# Record request ID in logging MDC storage
config.middleware.insert_before Rails::Rack::Logger, Middleware::TaggedLogging
- config.middleware.insert_after ActionDispatch::Session::ActiveRecordStore, Middleware::SessionSafeLogging
+# config.middleware.insert_after ActionDispatch::Session::ActiveRecordStore, Middleware::SessionSafeLogging
# Add apidoc hash in headers for smarter caching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment