Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sigerello/658840 to your computer and use it in GitHub Desktop.
Save sigerello/658840 to your computer and use it in GitHub Desktop.
## Inside: config/initializers/session_store.rb
Rails.application.config.middleware.insert_before(
ActionDispatch::Session::CookieStore,
FlashSessionCookieMiddleware,
Rails.application.config.session_options[:key]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment