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;
@@ -3,13 +3,20 @@ package Team5.SmartTowns.trailcontrollers;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.GetMapping;
 
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.ModelAndView;
@Controller
@Controller
public class DragonsTale {
public class DragonsTale {
@GetMapping("/dragonstale")
@GetMapping("/dragonstale")
public ModelAndView getDragonsTale(){
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;
return modelAndView;
}
}
 
 
// @RequestMapping("/dragonstale")
 
// public ModelAndView thymeleafInteration(){
 
//
 
//
 
// }
}
}
Loading