mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
Finish to remove Atom feed
This commit is contained in:
parent
f0a44efe56
commit
50e9269f7c
2 changed files with 1 additions and 2 deletions
|
@ -80,7 +80,6 @@ public class MvcCoreConfig extends WebMvcConfigurerAdapter {
|
|||
configurer.defaultContentType(MediaType.TEXT_HTML);
|
||||
configurer.mediaType("html", MediaType.TEXT_HTML);
|
||||
configurer.mediaType("xml", MediaType.APPLICATION_XML);
|
||||
configurer.mediaType("atom", MediaType.APPLICATION_ATOM_XML);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -74,7 +74,7 @@ public class MvcViewConfig {
|
|||
}
|
||||
|
||||
@Bean
|
||||
@Description("Used for 'xml' and 'atom' views")
|
||||
@Description("Used for 'xml' views")
|
||||
public ViewResolver beanNameViewResolver() {
|
||||
return new BeanNameViewResolver();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue