currentRule
A compute representing the currently matched routing rule route.
route.currentRule()
Use
Use route.currentRule()
to find the current route rule.
route.register( "{type}", { type: "foo" } );
route.register( "{type}/{subtype}" );
route.currentRule(); // "{type}"
route.data.subtype = "foo";
route.currentRule(); // "{type}/{subtype}"