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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user