This commit is contained in:
Stephane Nicoll
2018-03-08 16:38:44 +01:00
parent 39932bc0c5
commit dbeb8225fa
2 changed files with 3 additions and 3 deletions

View File

@@ -132,8 +132,8 @@ public class InitializrAutoConfiguration {
@Bean @Bean
public WebConfig webConfig() { public InitializrWebConfig initializrWebConfig() {
return new WebConfig(); return new InitializrWebConfig();
} }
@Bean @Bean

View File

@@ -40,7 +40,7 @@ import org.springframework.web.util.UrlPathHelper;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
*/ */
public class WebConfig implements WebMvcConfigurer { public class InitializrWebConfig implements WebMvcConfigurer {
@Override @Override
public void addViewControllers(ViewControllerRegistry registry) { public void addViewControllers(ViewControllerRegistry registry) {