Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to list all routes from the server side #725

Open
Paul-Vandell opened this issue Sep 11, 2017 · 1 comment
Open

A way to list all routes from the server side #725

Paul-Vandell opened this issue Sep 11, 2017 · 1 comment

Comments

@Paul-Vandell
Copy link

Hey,
For some fixtures, I would like to get all routes from the server and save it to my database.
At this time i used the FlowRouter._routes Array to send them to the server with a simply Meteor.call(). Is there another way to do it ?
Thx in advance.

@hems
Copy link

hems commented Nov 27, 2017

Why not do the opposite? Add the route to the database using your server-side then on your client side you fetch the routes and call FlowRouter accordingly !?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants