Websites/config/initializers/session_store.rb
2024-05-02 22:04:43 -05:00

8 lines
243 B
Ruby

# frozen_string_literal: true
if Rails.env.production?
Rails.application.config.session_store(:cookie_store, key: "_websites_session", domain: :all)
else
Rails.application.config.session_store(:cookie_store, key: "_websites_session")
end