Skip to content

Commit 69d4dc7

Browse files
authored
Merge pull request #276 from GunnarLieb/patch-19
Update event-caching.md
2 parents 516ee30 + 9b09d8e commit 69d4dc7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

the-basics/event-handlers/event-caching.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ We have provided an interception point in ColdBox that allows you to add variabl
104104
```javascript
105105
component{
106106

107-
onRequestCapture(event,interceptData){
108-
var rc = event.getCollection();
109-
107+
onRequestCapture( event, data, buffer, rc, prc ){
110108
// Add user's locale to the request collection to influence event caching
111109
rc._user_locale = getFWLocale();
112110
}

0 commit comments

Comments
 (0)