Mercurial > rsstweet
comparison config/application.rb @ 189:df86d579634e
secret_key_base isn't needed anymore
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 14 Jul 2019 15:57:08 +0900 |
parents | f67f3ad50270 |
children | 1395519b423d |
comparison
equal
deleted
inserted
replaced
188:d58666587a55 | 189:df86d579634e |
---|---|
29 # -- all .rb files in that directory are automatically loaded after loading | 29 # -- all .rb files in that directory are automatically loaded after loading |
30 # the framework and any gems in your application. | 30 # the framework and any gems in your application. |
31 | 31 |
32 config.middleware.delete ActionDispatch::HostAuthorization | 32 config.middleware.delete ActionDispatch::HostAuthorization |
33 config.middleware.delete ActionDispatch::Cookies | 33 config.middleware.delete ActionDispatch::Cookies |
34 # this isn't actually used but railties checks this variable during boot. | |
35 config.secret_key_base = "herp a derp" | |
36 config.session_store :disabled | 34 config.session_store :disabled |
37 | 35 |
38 if $cfg[:redis_server] | 36 if $cfg[:redis_server] |
39 config.cache_store = :redis_store, "#{$cfg[:redis_server]}/cache_store", { :expires_in => 12.hours } | 37 config.cache_store = :redis_store, "#{$cfg[:redis_server]}/cache_store", { :expires_in => 12.hours } |
40 end | 38 end |