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

Initial setup

parent f8c5598f
No related branches found
No related tags found
1 merge request!30Resolve "As a user I would like to see a map of the landmarks, so that I can figure out where to go"
...@@ -27,6 +27,12 @@ public class WebpageController { ...@@ -27,6 +27,12 @@ public class WebpageController {
return modelAndView; return modelAndView;
} }
@GetMapping("/maps")
public ModelAndView getMapTestAPI(){
ModelAndView modelAndView = new ModelAndView("Towns/MapApiTest");
return modelAndView;
}
// @GetMapping("/home") // @GetMapping("/home")
// public ModelAndView getHome(){ // public ModelAndView getHome(){
// ModelAndView modelAndView = new ModelAndView("Towns/home/homePage"); // ModelAndView modelAndView = new ModelAndView("Towns/home/homePage");
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>MAPTEST</title>
<link rel="stylesheet" th:href="@{/css/templatingstyle.css}">
</head>
<body>
<header th:insert="~{/towns/Templating.html::header}"></header>
<main>
<H1> Map API Test Here</H1>
</main>
<footer th:insert="~{/towns/Templating.html::footer}"></footer>
</body>
</html>
\ No newline at end of file
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