FlowRouter.route('/community/:slug', {
action() {
ReactLayout.render(App, { content: <CommunityLanding /> });
}
});
Example = React.createClass({
mixins: [ReactMeteorData],
getMeteorData() {
return {
// Get :slug here to subscribe?
};
},
render() {
return (
<p>Test</p>
)
}
});
How can I get the URL parameters to subscribe within my components?