Move default headers configuration in app config
This commit is contained in:
parent
9ff1c049c5
commit
999ff85ac9
@ -30,5 +30,7 @@ module Scube
|
|||||||
|
|
||||||
# Do not swallow errors in after_commit/after_rollback callbacks.
|
# Do not swallow errors in after_commit/after_rollback callbacks.
|
||||||
config.active_record.raise_in_transactional_callbacks = true
|
config.active_record.raise_in_transactional_callbacks = true
|
||||||
|
|
||||||
|
config.action_dispatch.default_headers.clear
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Rails.application.config.action_dispatch.default_headers.clear
|
|
Loading…
x
Reference in New Issue
Block a user