def locations_get_from(*args)
    args.flatten.reject do |path|
      path == :root
    end.collect do |path|
      @locations[path] || path
    end
  end
def locations_get_from(*args)
    args.flatten.reject do |path|
      path == :root
    end.collect do |path|
      @locations[path] || path
    end
  end
Get paths from location maps.