The app's existing statechart should be able to reflect the URL with a little tweaking... set representRoute to a valid route string (as documented in SC.routes). Then in the state implement both an enterState method, for normal state transitions, and an enterStateByRoute method, which gives you the parsed URL path instead of your context object, and lets you spin up the state differently (documented here).
The app's existing statechart should be able to reflect the URL with a little tweaking... set representRoute to a valid route string (as documented in SC.routes). Then in the state implement both an enterState method, for normal state transitions, and an enterStateByRoute method, which gives you the parsed URL path instead of your context object, and lets you spin up the state differently (documented here).