How to Check Current Route in Iron Router Meteor
3 answers
Router.current().route.path()
Works fine as long as you don't have routes with parameters, after which it will reconfigure unexpectedly
null
makes it rather unreliable in my opinion.
Iron.Location.get().path
This seems to be the most reliable method at the moment for getting your path with parameters (rather than full url including "http: //" like Router.current (). Url does)
+2
source to share