Permalink
Browse files

fix bug in api example

Added the TARGETPATH to the onRequestStart function in the api example.
This was causing an error on CF10.
  • Loading branch information...
1 parent 7d50acd commit f8b071211bec3f7275b41494ced62a979213956a @bpamiri bpamiri committed Apr 22, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/api/Application.cfc
View
4 examples/api/Application.cfc
@@ -14,8 +14,8 @@
return super.onApplicationStart();
}
- function onRequestStart(){
- return super.onRequestStart();
+ function onRequestStart(TARGETPATH){
+ return super.onRequestStart(TARGETPATH);
}
// this function is called after the request has been parsed and all request details are known

0 comments on commit f8b0712

Please sign in to comment.