adding deprecation setting

This commit is contained in:
Jesse Kriss 2010-09-16 09:19:56 +08:00 committed by Diaspora
parent 30e655fd6c
commit 969779a60d

View file

@ -17,6 +17,8 @@ Diaspora::Application.configure do
# Specifies the header that your server uses for sending files
config.action_dispatch.x_sendfile_header = "X-Sendfile"
config.active_support.deprecation = :notify
# For nginx:
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'