swipely / aviator

Aviator is a single-page front-end router built for modularity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

matchedRoute should be complete regardless of current route target

barnabyc opened this issue · comments

Every request has a matchedRoute property but it only includes what is currently matched up to the route target being executed.

We should try to include the entirity of the route. Cases where we need to conditionally redirect, or exit are currently potentially limited. Ie. prompt for a login and return to the proper route on success.