We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to be able to organize better than stuffing all the code into the controller. But, how can I access my params from the app object?
We already have Path.routes.current
How about also Path.routes.currentparams
Here is a simplified version of my issue:
app = { "feed" : function() { console.log('welcome to the feed section.'); //How to I get my 'url' parameter? // What if.... url = Path.routes.currentparams['url']; }, "menu" : function() { console.log('menu'); } } Path.map("#feed(/:url)").to(app.feed); Path.map("#menu").to(app.menu); Path.root("#menu"); Path.listen();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would like to be able to organize better than stuffing all the code into the controller. But, how can I access my params from the app object?
We already have Path.routes.current
How about also Path.routes.currentparams
Here is a simplified version of my issue:
The text was updated successfully, but these errors were encountered: