Calls to the application constant have been refactored to use
Rails.application when drawing routes and creating other configurations
on the application.