-
Notifications
You must be signed in to change notification settings - Fork 192
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
Adds name
option to groups
#290
Conversation
@@ -1,7 +1,7 @@ | |||
Package.describe({ | |||
name: 'kadira:flow-router', | |||
summary: 'Carefully Designed Client Side Router for Meteor', | |||
version: '2.3.0', | |||
version: '2.3.0_1', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't increment this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies, that was just so I could tell I was using the new version locally.
One more thing? On 2015 අගෝ 26, බදාදා at ප.ව. 6.30 Richard Silverton <
|
👍 |
Awesome. |
I have two quick questions:
|
|
Thanks this has been really helpful, especially with an "active route group" helper I can now use in a deeply nested menu and route structure. 👏 |
Btw: Shall we add this into the README?
|
Sometimes it's useful to know which group the current route belongs to (for example, is it only for logged-in users?). Currently, that's not possible unless you're using prefixes for that group.
Allowing the user to pass a
name
option resolves this as it allows you to useFlowRouter.current().route.group.name
to identify the current group.