Updated indentation

This commit is contained in:
Kiran 2016-09-28 16:50:14 -04:00 committed by GitHub
parent f6e5e17c9a
commit 7f58390d53

View File

@ -5,22 +5,21 @@ import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Controller
@RequestMapping("/")
public class ApplicationController {
@RequestMapping(value = { "/"}, method = RequestMethod.GET)
@RequestMapping(value = { "/" }, method = RequestMethod.GET)
public String homePage(ModelMap model) {
return "home";
}
@RequestMapping(value = { "/apachetiles"}, method = RequestMethod.GET)
@RequestMapping(value = { "/apachetiles" }, method = RequestMethod.GET)
public String productsPage(ModelMap model) {
return "apachetiles";
}
@RequestMapping(value = { "/springmvc"}, method = RequestMethod.GET)
@RequestMapping(value = { "/springmvc" }, method = RequestMethod.GET)
public String contactUsPage(ModelMap model) {
return "springmvc";
}