swipely / aviator

Aviator is a single-page front-end router built for modularity.
MIT License
143 stars 6 forks source link

matchedRoute should be complete regardless of current route target #58

Open barnabyc opened 10 years ago

barnabyc commented 10 years ago

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.