1 package de.juplo.yourshouter;
6 import org.springframework.context.annotation.Configuration;
7 import org.springframework.web.servlet.config.annotation.EnableWebMvc;
8 import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
9 import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
13 * Spring MVC Configuration.
19 public class WebMvcConfig extends WebMvcConfigurerAdapter
25 public void addViewControllers(ViewControllerRegistry registry)
27 // Configure the view /thymeleaf/signin.html for the path /signin.html
28 registry.addViewController("/signin.html");