Created
August 17, 2014 00:17
-
-
Save robertz/2ec64e9e8e80fe78c31d to your computer and use it in GitHub Desktop.
ColdboxInterceptor.cfc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component { | |
void function Configure() {} | |
boolean function afterAspectsLoad(required any event, required struct interceptData){ | |
var Tracker = new whoson.WhosonTracker(); | |
getColdboxOCM().set('WhosOn', Tracker, 0); | |
return false; | |
} | |
boolean function preProcess(required any event, required struct interceptData){ | |
getColdboxOCM().get('WhosOn').trackHit(event); | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment