class ActionDispatch::Routing::Mapper::Mapping

def split_to(to)

def split_to(to)
  if to =~ /#/
    to.split('#')
  else
    []
  end
end