mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:29:30 +08:00
30990006a9
This reduces chances of errors where consumers of strings mutate inputs and reduces memory usage of the app. Test suite passes now, but there may be some stuff left, so we will run a few sites on a branch prior to merging
7 lines
293 B
Ruby
7 lines
293 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Not fussed setting secret_token anymore, that is only required for
|
|
# backwards support of "seamless" upgrade from Rails 3.
|
|
# Discourse has shipped Rails 3 for a very long time.
|
|
Discourse::Application.config.secret_key_base = GlobalSetting.safe_secret_key_base
|