class ActionDispatch::Routing::Mapper::Mapping

def split_to(to)

def split_to(to)
  if to&.include?("#")
    to.split("#").map!(&:-@)
  else
    []
  end
end