Add the "Reload" and "CSV" buttons
[proteocache.git] / server / compbio / controllers / MainController.java
index d5bef44..d555d36 100644 (file)
@@ -11,7 +11,8 @@ public class MainController extends BasicController {
        @RequestMapping(value = "/index", method = RequestMethod.GET)
        public String printPublicHome(ModelMap model) {
                model.addAttribute("username", getPrincipalName());
-               if (isUserRole()) return "home";
+               if (isUserRole())
+                       return "home";
                return "public";
        }
 
@@ -38,7 +39,7 @@ public class MainController extends BasicController {
        }
 
        @RequestMapping(value = "/home", method = RequestMethod.GET)
-       public String printHome(ModelMap model ) {
+       public String printHome(ModelMap model) {
                model.addAttribute("username", getPrincipalName());
                return "home";
        }