Skip to content
Snippets Groups Projects
Commit 78440890 authored by Connor Brock's avatar Connor Brock
Browse files

Bug fixed GetMapping controller for DragonsTale to correctly handle the URL.

parent 1f584293
No related branches found
No related tags found
1 merge request!12Draft: Resolve "As a user I want to be able to see landmarks related to the trail I am looking at, so that I can find out where to go"
......@@ -7,17 +7,16 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class DragonsTale {
@GetMapping("/dragonstale")
public ModelAndView getDragonsTale(){
ModelAndView modelAndView = new ModelAndView("src/main/resources/templates/towns/trails/dragonstale/index.html");
ModelAndView modelAndView = new ModelAndView("trails/dragonstale/index");
return modelAndView;
}
@RequestMapping("/dragonstale")
public ModelAndView thymeleafInteration(){
}
// @RequestMapping("/dragonstale")
// public ModelAndView thymeleafInteration(){
//
//
// }
}
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