Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing -- Use SproutCore routing for #/, #/active, #/completed, and do required filtering and displays. #7

Open
geojeff opened this issue Jun 19, 2013 · 1 comment

Comments

@geojeff
Copy link
Member

geojeff commented Jun 19, 2013

No description provided.

@dcporter
Copy link
Member

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants