diff options
author | Josh Bleecher Snyder <josharian@gmail.com> | 2015-09-01 22:25:26 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-09-01 22:25:26 +0000 |
commit | 1b31ea8ece2623b8dec4d9485a86ab886cc03b3b (patch) | |
tree | 16323f175a67e0022f2ad01d358396fc017ebca2 | |
parent | 16cb6de1a6a2a8d518ccc484cc86eb6ced76ad27 (diff) | |
parent | ec600479b27be7ad21ea55b80251085208d6cfef (diff) | |
download | tools-1b31ea8ece2623b8dec4d9485a86ab886cc03b3b.tar.gz |
godoc/redirect: make /issue and /issues identical
automerge: ec60047
* commit 'ec600479b27be7ad21ea55b80251085208d6cfef':
godoc/redirect: make /issue and /issues identical
-rw-r--r-- | godoc/redirect/redirect.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/godoc/redirect/redirect.go b/godoc/redirect/redirect.go index b7498b3..40d1cc1 100644 --- a/godoc/redirect/redirect.go +++ b/godoc/redirect/redirect.go @@ -97,6 +97,7 @@ var redirects = map[string]string{ "/issue": "https://github.com/golang/go/issues", "/issue/new": "https://github.com/golang/go/issues/new", "/issues": "https://github.com/golang/go/issues", + "/issues/new": "https://github.com/golang/go/issues/new", "/play": "http://play.golang.org", // In Go 1.2 the references page is part of /doc/. @@ -131,10 +132,11 @@ var redirects = map[string]string{ } var prefixHelpers = map[string]string{ - "issue": "https://github.com/golang/go/issues/", - "play": "http://play.golang.org/", - "talks": "http://talks.golang.org/", - "wiki": "https://github.com/golang/go/wiki/", + "issue": "https://github.com/golang/go/issues/", + "issues": "https://github.com/golang/go/issues/", + "play": "http://play.golang.org/", + "talks": "http://talks.golang.org/", + "wiki": "https://github.com/golang/go/wiki/", } func Handler(target string) http.Handler { |