Skip to content

Commit ae1acf9

Browse files
authored
docs: use correct config for static mapping rules (#1182)
1 parent db7e038 commit ae1acf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin-core/docs/src/docs/requestMappings/expressions.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ new Requestmap(url: "/secure/someOtherAction",
6262
and the corresponding static mappings would be
6363

6464
[source,groovy]
65-
.Listing {counter:listing}. Adding mappings in `grails.plugin.springsecurity.interceptUrlMap`
65+
.Listing {counter:listing}. Adding mappings in `grails.plugin.springsecurity.controllerAnnotations.staticRules`
6666
----
67-
grails.plugin.springsecurity.interceptUrlMap = [
67+
grails.plugin.springsecurity.controllerAnnotations.staticRules = [
6868
[pattern: '/secure/someAction', access: ["hasRole('ROLE_ADMIN')"]],
6969
[pattern: '/secure/someOtherAction', access: ["authentication.name == 'ralph'"]]
7070
]

0 commit comments

Comments
 (0)