tmeasday / meteor-router

MIT License
366 stars 76 forks source link

Add server-side filtering #89

Open wizonesolutions opened 11 years ago

wizonesolutions commented 11 years ago

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.