fixed config placement in application.rb