class ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder

def self.get(action, type)

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