Search code examples
meteorpathiron-routerflow-router

which function is the replacement function of ‘pathFor’ function of iron-routing in flow-routing?


I use orionjs from meteor.js: I change the blog example of the orionjs (https://github.com/orionjs/examples/tree/master/blog)

I use useraccounts:flow-routing replace useraccouts:iron-routing package:

<a href="{{ pathFor 'dictionary.update' }}">edit</a>

which package in charge of parsing and pathFor and what is that meaning? If I continue use the flow-routing package how can I deal with the pathFor function?


Solution

  • I find arillo:flow-router-helpers package. https://github.com/arillo/meteor-flow-router-helpers

    which have a totally replace function "pathfor" there.