FIX: remove hardcoding from middleware stack so we can control it

This commit is contained in:
Sam
2014-07-10 17:01:21 +10:00
parent 5032c96486
commit 6019e3f257
4 changed files with 1 additions and 22 deletions

View File

@ -21,9 +21,6 @@ Discourse::Application.configure do
# Generate digests for assets URLs
config.assets.digest = true
# Specifies the header that your server uses for sending files
config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found)
config.i18n.fallbacks = true