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

Allow useHashPaths: true to be set before running Location.start (Line 291) #20

Open
brettg2 opened this issue Nov 27, 2015 · 0 comments

Comments

@brettg2
Copy link

brettg2 commented Nov 27, 2015

Allow Iron.Location.configure({useHashPaths: true}); to be run before Location.start();

Right now there is no way I know of to set useHashPaths to true before the first route is handled, meaning http://localhost:3000/#!firstRoute will immediately goto http://localhost:3000/firstRoute because the router is unaware I want all routes to use hash paths instead of normal '/' slash paths.

I could be wrong. Maybe there is way to set this before the app is loaded? I checked iron_location and it seems it runs 'Location.start();' right away without allowing me to set configuration options first. Any way around this??

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

1 participant