Permalink
Browse files

Topics as default page

  • Loading branch information...
1 parent 4cf5109 commit f2d96e0f4e3e617b3be6ad941617a0b8271cd6cc @chamerling chamerling committed Nov 19, 2012
Showing with 2 additions and 18 deletions.
  1. +2 −18 app/controllers/Application.java
@@ -45,23 +45,7 @@ private static String getURL() {
}
public static void index() {
- Registry registry = Locator.getServiceRegistry(getNode());
- List<Node> services = new ArrayList<Node>();
-
- try {
- List<String> keys = registry.keys();
- for (String key : keys) {
- Node n = new Node();
- n.name = key;
- n.baseURL = registry.get(key);
- registry.get(key);
- services.add(n);
- }
- } catch (Exception e) {
- flash.error("Got error while getting services");
- }
- render(services);
+ // redirect to topics
+ TopicsController.topics();
}
-
-
}

0 comments on commit f2d96e0

Please sign in to comment.