diff options
author | James Moger <james.moger@gitblit.com> | 2011-04-11 08:18:22 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-04-11 08:18:22 -0400 |
commit | ef5c58d12ff33e4f2b83b6dcd53bdb6c96a6150d (patch) | |
tree | 5f936789acb589032a7b159408f577a19ec700b8 /src/com/gitblit/wicket/GitBlitWebApp.java | |
parent | 698678268f53067c239a11e928dfd16761a2f9f7 (diff) | |
download | gitblit-ef5c58d12ff33e4f2b83b6dcd53bdb6c96a6150d.tar.gz gitblit-ef5c58d12ff33e4f2b83b6dcd53bdb6c96a6150d.zip |
Page log.
Diffstat (limited to 'src/com/gitblit/wicket/GitBlitWebApp.java')
-rw-r--r-- | 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 caaf221f..90a03715 100644 --- a/src/com/gitblit/wicket/GitBlitWebApp.java +++ b/src/com/gitblit/wicket/GitBlitWebApp.java @@ -62,15 +62,15 @@ public class GitBlitWebApp extends WebApplication { 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" }));
|