tmeasday / meteor-router

MIT License
366 stars 76 forks source link

afterRouting? #83

Open laddi opened 11 years ago

laddi commented 11 years ago

Any possibility of adding a afterRouting method as well? :)

tmeasday commented 11 years ago

You can't just use a filter and apply it to every route?

laddi commented 11 years ago

Well, yes and no, what I'm trying to use is the window.location.pathname of the selected route but that only changes after the router has done it's routing. Maybe I need to rethink my strategy...

tmeasday commented 11 years ago

Oh, right. Fair enough.

I'm sort of in the middle of a merge with mini-pages at the moment so don't really have the spare cycles to get this fixed in the short term. I think it's something that will be handle in the new version though.

laddi commented 11 years ago

No worries, this is more of a 'nice to have'... :)