summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-09-17 12:20:22 -0400
committerJames Moger <james.moger@gitblit.com>2014-09-17 12:20:22 -0400
commit5d5e557f029aa9efe8e81cbc43e9e969fa750b80 (patch)
tree4a998b32429fb7191508ffec3c48a9e8aabd3f3b /src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java
parent113172aa6a857c8e42d6e88057379fcba4881fb8 (diff)
downloadgitblit-5d5e557f029aa9efe8e81cbc43e9e969fa750b80.tar.gz
gitblit-5d5e557f029aa9efe8e81cbc43e9e969fa750b80.zip
Explicitly declare RepositoryPage subclasses that reference commits
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java b/src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java
index 71a5ea67..d827c449 100644
--- a/src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java
@@ -197,6 +197,11 @@ public class CommitDiffPage extends RepositoryPage {
}
@Override
+ protected boolean isCommitPage() {
+ return true;
+ }
+
+ @Override
protected Class<? extends BasePage> getRepoNavPageClass() {
return LogPage.class;
}