matched
A compute representing the currently matched route.
route.matched()
Returns
{String}
:
The currently matched route.
Use route.matched()
to find the currently matched route.
route("{type}", { type: "foo" });
route("{type}/{subtype}");
route.matched(); // "{type}"
route.data.subtype = "foo";
route.matched(); // "{type}/{subtype}"