Bind /settings to Gerrit#settings to simplify external URLs

This way we can include the /settings URL in an email message
(for example) so users can figure out how to unsubscribe off
messages sent by Gerrit.

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2009-01-20 18:48:02 -08:00
parent f37939c8e2
commit 8871e461d8

View File

@@ -59,6 +59,7 @@ public class UrlRewriteFilter implements Filter {
staticLinks.put("/mine", Link.MINE);
staticLinks.put("/unclaimed", Link.MINE_UNCLAIMED);
staticLinks.put("/starred", Link.MINE_STARRED);
staticLinks.put("/settings", Link.SETTINGS);
staticLinks.put("/all_unclaimed", Link.ALL_UNCLAIMED);
staticLinks.put("/all", Link.ALL_MERGED);