Use a preinitializer to load the settings from application.yml so that they are available as early as possible. All settings can also be overridden using environment variables. The ad-hoc settins in environment.rb are then moved to this new system so we have one consistent location for settings. |
||
---|---|---|
.. | ||
_key.html.erb | ||
_search.html.erb | ||
_sidebar.html.erb | ||
copyright.html.erb | ||
edit.html.erb | ||
index.html.erb | ||
key.html.erb | ||
offline.html.erb |