@RequestMapping(value = "/", method = RequestMethod.GET)
    public String home(Locale locale, Model model) {
        return "redirect:profiles";
    }
@ RequestMapping ( value = "/" , method = RequestMethod . GET ) public String home ( Locale locale , Model model ) { return "redirect:profiles" ; }
Simply selects the home view to render by returning its name.