comparison config/application.rb @ 215:1c1f761f2dcc

The parameter is still required in production so it turned out
author nanaya <me@nanaya.pro>
date Fri, 11 Dec 2020 03:52:35 +0900
parents 2335107f35d0
children 2a3c7db6007a
comparison
equal deleted inserted replaced
214:2335107f35d0 215:1c1f761f2dcc
29 # Settings in config/environments/* take precedence over those specified here. 29 # Settings in config/environments/* take precedence over those specified here.
30 # Application configuration can go into files in config/initializers 30 # Application configuration can go into files in config/initializers
31 # -- all .rb files in that directory are automatically loaded after loading 31 # -- all .rb files in that directory are automatically loaded after loading
32 # the framework and any gems in your application. 32 # the framework and any gems in your application.
33 33
34 # this isn't actually used but railties *production* checks this variable during boot.
35 config.secret_key_base = "herp a derp"
36
34 config.middleware.delete ActionDispatch::HostAuthorization 37 config.middleware.delete ActionDispatch::HostAuthorization
35 config.middleware.delete ActionDispatch::Cookies 38 config.middleware.delete ActionDispatch::Cookies
36 config.session_store :disabled 39 config.session_store :disabled
37 40
38 if $cfg[:redis_server] 41 if $cfg[:redis_server]