kadirahq / flow-router

Carefully Designed Client Side Router for Meteor
MIT License
1.09k stars 194 forks source link

Added option to initialize with trailing slashes #511

Closed danielsvane closed 8 years ago

danielsvane commented 8 years ago

FlowRouter.go when run with url parameters, like localhost/ -> localhost?foo=bar will always remove the trailing slash. I added another initialization option FlowRouter.initialize({addTrailingSlash: true}); to force FlowRouter to keep the trailing slash.

arunoda commented 8 years ago

This is great. But we don't accept features for this version. You need to send them against the ssr branch. And write some tests.

danielsvane commented 8 years ago

The ssr branch doesn't work with my current project and I don't have the time to update everything to the new branch. I'm gonna use my local version of FlowRouter instead, which I know works. You can discard this pull request.