Browse Source

Fix import for example

Ivanov Maxim Romanovich 1 year ago
parent
commit
5bffa4e454
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/modules/ROOT/pages/reactive/configuration/webflux.adoc

+ 1 - 1
docs/modules/ROOT/pages/reactive/configuration/webflux.adoc

@@ -132,7 +132,7 @@ class HelloWebfluxSecurityConfig {
 ======
 ======
 
 
 [NOTE]
 [NOTE]
-Make sure to import the `org.springframework.security.config.annotation.web.invoke` function to enable the Kotlin DSL in your class, as the IDE will not always auto-import the method, causing compilation issues.
+Make sure to import the `import org.springframework.security.config.web.server.invoke` function to enable the Kotlin DSL in your class, as the IDE will not always auto-import the method, causing compilation issues.
 
 
 This configuration explicitly sets up all the same things as our minimal configuration.
 This configuration explicitly sets up all the same things as our minimal configuration.
 From here, you can more easily make changes to the defaults.
 From here, you can more easily make changes to the defaults.