Commit c7a9f423 authored by Leigh Stoller's avatar Leigh Stoller

The URL is now p/pid/name for public profiles.

parent 20c076b5
......@@ -160,7 +160,14 @@ class Profile
$uuid = $this->uuid();
return "$APTBASE/p/$uuid";
if ($this->ispublic()) {
$pid = $this->pid();
$name = $this->name();
return "$APTBASE/p/$pid/$name";
}
else {
return "$APTBASE/p/$uuid";
}
}
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment