Add missing requires for require 'action_dispatch/routing'

(cherry picked from commit ee8dc39ebe88b294496d731150a9fdca35d9478c)