Skip to content

Instantly share code, notes, and snippets.

@brunapereira
Created December 14, 2019 22:44
Show Gist options
  • Save brunapereira/b56e0e1f3e3142ea449018c2fd52245a to your computer and use it in GitHub Desktop.
Save brunapereira/b56e0e1f3e3142ea449018c2fd52245a to your computer and use it in GitHub Desktop.
class Application < Rails::Application
# Configurações já existentes
config.middleware.use Rack::Session::Cookie, secret: ENV.fetch('SESSION_COOKIE_SECRET')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment