This repository has been archived by the owner on Aug 4, 2019. It is now read-only.
Utilize route-rewriting for subroutes #141
Labels
A-sencha-app
Area: General app infrastructure, viewport, and navigation
C-chore
Category: Necessary work for core-maintainers that is not a bug or feature
E-hard
Effort: Very difficult; do not attempt without significant relevant experience and motivation.
L-sencha
Language: Sencha/Ext JS (JavaScript)
Milestone
The jarvus-routing package offers a feature for controllers to be able to rewrite routes before they are realized. Utilize this for things like how when you redirect to the URL of a person, the People controller needs to append whichever subtab you have active to the route. With a rewrite in place, a call of
redirectTo('people/lookup/chris')
will be rewritten to'people/lookup/chris/courses'
by the people controller if that's the active subtab BEFORE it gets written to the address bar. Currently it redirects AFTER the original un-tabbed route got written to the address bar, creating a back-button trapThe text was updated successfully, but these errors were encountered: