summaryrefslogtreecommitdiffstats
path: root/routers/routes
diff options
context:
space:
mode:
authorCherrg <michael@gnehr.de>2019-07-08 10:20:22 +0200
committerLauris BH <lauris@nix.lv>2019-07-08 11:20:22 +0300
commite5b247ea8e77689bb14e5f304ada36f9326f0904 (patch)
tree90426d29833e24eaa5c04ff2b09bd06f5175049f /routers/routes
parentd7211c5b5d90a3e6bc9c1550e2c0bf7d0d9ad66f (diff)
downloadgitea-e5b247ea8e77689bb14e5f304ada36f9326f0904.tar.gz
gitea-e5b247ea8e77689bb14e5f304ada36f9326f0904.zip
wiki - page revisions list (#7369)
fix #7 * add wiki page revision list * mobile improvements * css improvements for long usernames * split renderWikiPage into 3 functions Signed-off-by: Michael Gnehr <michael@gnehr.de>
Diffstat (limited to 'routers/routes')
-rw-r--r--routers/routes/routes.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
index 744088a9d7..ec57e8f5fd 100644
--- a/routers/routes/routes.go
+++ b/routers/routes/routes.go
@@ -804,6 +804,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Group("/wiki", func() {
m.Get("/?:page", repo.Wiki)
m.Get("/_pages", repo.WikiPages)
+ m.Get("/:page/_revision", repo.WikiRevision)
m.Group("", func() {
m.Combo("/_new").Get(repo.NewWiki).