Calls to the application constant have been refactored to use
Rails.application when drawing routes and creating other configurations
on the application.
Merge pull request #10902 from wangjohn/removing_application_singleton_calls

Calls to the application constant have been refactored