Reputation: 32818
I would like to do something like the following command.
state.is('home.auth({content: 'login'})')
It always shows as valid even when I send a different content parameter. Is there a way I can also check for the parameter?
Upvotes: 1
Views: 24
Reputation: 4319
Try it like this:
state.is('home.auth', {content: 'login'});
Have a look at the documentation.
Upvotes: 3