Skip to content
Snippets Groups Projects

Draft: 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"

Files
8
@@ -3,13 +3,20 @@ package Team5.SmartTowns.trailcontrollers;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
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(){
//
//
// }
}
Loading