mschaefers
2012-12-04 428b2244aadeb4724e705044d73ac74be724f6e9
src/com/gitblit/wicket/pages/RepositoryPage.java
@@ -154,7 +154,9 @@
      pages.put("branches", new PageRegistration("gb.branches", BranchesPage.class, params));
      pages.put("tags", new PageRegistration("gb.tags", TagsPage.class, params));
      pages.put("tree", new PageRegistration("gb.tree", TreePage.class, params));
      pages.put("forks", new PageRegistration("gb.forks", ForksPage.class, params));
      if (GitBlit.getBoolean(Keys.web.allowForking, true)) {
         pages.put("forks", new PageRegistration("gb.forks", ForksPage.class, params));
      }
      // conditional links
      Repository r = getRepository();
@@ -191,7 +193,7 @@
   }
   
   protected boolean allowForkControls() {
      return true;
      return GitBlit.getBoolean(Keys.web.allowForking, true);
   }
   @Override
@@ -597,4 +599,4 @@
         getRequestCycle().setRequestTarget(new RedirectRequestTarget(absoluteUrl));
      }
   }
}
}