package au.gov.dto.dibp.appointments.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

@Configuration
public class WebMvcConfig extends WebMvcConfigurerAdapter {

    @Override
    public void addViewControllers(ViewControllerRegistry registry) {
        registry.addViewController("/").setViewName("redirect:/login");
    }
}

@@ -39,16 +39,97 @@
 onfig;%0A%0A
+import org.springframework.boot.autoconfigure.mustache.web.MustacheViewResolver;%0A
 import o
@@ -181,16 +181,16 @@
 ration;%0A
-
 import o
@@ -262,16 +262,95 @@
 gistry;%0A
+import org.springframework.web.servlet.config.annotation.ViewResolverRegistry;%0A
 import o
@@ -584,16 +584,16 @@
 stry) %7B%0A
-
         
@@ -661,11 +661,163 @@
 );%0A    %7D
+%0A%0A    @Override%0A    public void configureViewResolvers(ViewResolverRegistry registry) %7B%0A        registry.viewResolver(new MustacheViewResolver());%0A    %7D
 %0A%7D%0A

Configure MustacheViewResolver as default view resolver