mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Fix locale interceptor code snippet
See gh-36105 See gh-36099
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ class WebConfiguration {
|
||||
setInterceptors(LocaleChangeInterceptor().apply {
|
||||
paramName = "siteLanguage"
|
||||
})
|
||||
/* @chomp:line urlMap = mapOf("/**/*.view" to "someController") */urlMap = mapOf("/**/*.view" to "someController")
|
||||
urlMap = mapOf("/**/*.view" to "someController")
|
||||
}
|
||||
}
|
||||
// end::snippet[]
|
||||
|
||||
Reference in New Issue
Block a user