From ef5c58d12ff33e4f2b83b6dcd53bdb6c96a6150d Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 11 Apr 2011 08:18:22 -0400 Subject: [PATCH] Page log. --- src/com/gitblit/wicket/GitBlitWebApp.java | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/com/gitblit/wicket/GitBlitWebApp.java b/src/com/gitblit/wicket/GitBlitWebApp.java index caaf221..90a0371 100644 --- a/src/com/gitblit/wicket/GitBlitWebApp.java +++ b/src/com/gitblit/wicket/GitBlitWebApp.java @@ -62,15 +62,15 @@ getRequestCycleSettings().setGatherExtendedBrowserInfo(true); // setup the standard gitweb-ish urls - mount(new MixedParamUrlCodingStrategy("/summary", SummaryPage.class, new String[] { "p" })); - mount(new MixedParamUrlCodingStrategy("/shortlog", LogPage.class, new String[] { "p", "h" })); - mount(new MixedParamUrlCodingStrategy("/tags", TagsPage.class, new String[] { "p" })); - mount(new MixedParamUrlCodingStrategy("/branches", BranchesPage.class, new String[] { "p" })); - mount(new MixedParamUrlCodingStrategy("/commit", CommitPage.class, new String[] { "p", "h" })); - mount(new MixedParamUrlCodingStrategy("/tag", TagPage.class, new String[] { "p", "h" })); - mount(new MixedParamUrlCodingStrategy("/tree", TreePage.class, new String[] { "p", "h", "f" })); - mount(new MixedParamUrlCodingStrategy("/blob", BlobPage.class, new String[] { "p", "h", "f" })); - mount(new MixedParamUrlCodingStrategy("/diff", DiffPage.class, new String[] { "p", "h", "f" })); + mount(new MixedParamUrlCodingStrategy("/summary", SummaryPage.class, new String[] { "r" })); + mount(new MixedParamUrlCodingStrategy("/log", LogPage.class, new String[] { "r", "h" })); + mount(new MixedParamUrlCodingStrategy("/tags", TagsPage.class, new String[] { "r" })); + mount(new MixedParamUrlCodingStrategy("/branches", BranchesPage.class, new String[] { "r" })); + mount(new MixedParamUrlCodingStrategy("/commit", CommitPage.class, new String[] { "r", "h" })); + mount(new MixedParamUrlCodingStrategy("/tag", TagPage.class, new String[] { "r", "h" })); + mount(new MixedParamUrlCodingStrategy("/tree", TreePage.class, new String[] { "r", "h", "f" })); + mount(new MixedParamUrlCodingStrategy("/blob", BlobPage.class, new String[] { "r", "h", "f" })); + mount(new MixedParamUrlCodingStrategy("/diff", DiffPage.class, new String[] { "r", "h", "f" })); // setup extended urls mount(new MixedParamUrlCodingStrategy("/ticgit", TicGitPage.class, new String[] { "p" })); -- Gitblit v1.9.1