I'm using meteor-router to write a REST API, and it would be great to be able to run everything through a filtering function before it got passed on to its destination callback. There is some session token validation that I want to do regardless of which route they're hitting. I can just put that logic into a callback or something for now.
I'm using meteor-router to write a REST API, and it would be great to be able to run everything through a filtering function before it got passed on to its destination callback. There is some session token validation that I want to do regardless of which route they're hitting. I can just put that logic into a callback or something for now.