diff options
author | James Moger <james.moger@gitblit.com> | 2014-05-27 18:13:30 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-06-03 10:34:50 -0400 |
commit | 0047fbba99b804d268a66ed7504a568596de6168 (patch) | |
tree | 4940877475bddebe41d25b9cdced960eb5a107c2 /src/main/java/com/gitblit/wicket/pages/RootPage.java | |
parent | e1bcda8c6245035c96bf44ee09d61fa5a52bcafc (diff) | |
download | gitblit-0047fbba99b804d268a66ed7504a568596de6168.tar.gz gitblit-0047fbba99b804d268a66ed7504a568596de6168.zip |
Simplified repository creation with a NewRepositoryPage
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/RootPage.java')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/RootPage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/RootPage.java b/src/main/java/com/gitblit/wicket/pages/RootPage.java index a2f3a497..b1c3639d 100644 --- a/src/main/java/com/gitblit/wicket/pages/RootPage.java +++ b/src/main/java/com/gitblit/wicket/pages/RootPage.java @@ -607,7 +607,7 @@ public abstract class RootPage extends BasePage { List<MenuItem> standardItems = new ArrayList<MenuItem>(); standardItems.add(new MenuDivider()); if (user.canAdmin() || user.canCreate()) { - standardItems.add(new PageLinkMenuItem("gb.newRepository", EditRepositoryPage.class)); + standardItems.add(new PageLinkMenuItem("gb.newRepository", app().getNewRepositoryPage())); } standardItems.add(new PageLinkMenuItem("gb.myProfile", UserPage.class, WicketUtils.newUsernameParameter(user.username))); |