package com.ds.ce.diy.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 WebConfig extends WebMvcConfigurerAdapter {

    @Override
    public void addViewControllers(ViewControllerRegistry registry) {
        registry.addViewController("/profile/**/password").setViewName("app");
        registry.addViewController("/login").setViewName("login.html");
    }
}

@@ -406,16 +406,146 @@
 stry) %7B%0A
+        registry.addViewController(%22/tools%22).setViewName(%22app%22);%0A        registry.addViewController(%22/users%22).setViewName(%22app%22);%0A
         

add /tools and /users view resolver to /