class ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder

def self.get(action, type)

def self.get(action, type)
  type   = type.to_s
  CACHE[type].fetch(action) { build action, type }
end