Skip to content
Snippets Groups Projects
Commit c9467509 authored by Rhys Evans's avatar Rhys Evans
Browse files

Renamed webpage controller class

parent d55c415e
No related branches found
No related tags found
1 merge request!2Merger to resolve "As a user, I want the webpage to be easily operable so that I can navigate through the content effortlessly and accomplish my tasks efficiently."
package Team5.SmartTowns.WebPages;
package Team5.SmartTowns.Webpages;
import org.springframework.web.bind.annotation.GetMapping;
......@@ -6,13 +6,13 @@ import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
@Controller
public class WebPageController {
public class WebpageController {
@GetMapping()
public ModelAndView getXWebPage("/html page here"){
ModelAndView modelAndView = new ModelAndView("Desired ViewName");
return modelAndView;
return modelAndView;
}
@GetMapping()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment