Skip to content

Instantly share code, notes, and snippets.

@danse
Last active August 29, 2015 14:03
Show Gist options
  • Save danse/83dc2a8014f738f28a24 to your computer and use it in GitHub Desktop.
Save danse/83dc2a8014f738f28a24 to your computer and use it in GitHub Desktop.

Task list controller leading the user to the task assignment page. The second, mandatory parameter is the fallback

pageBroker.load('/assign-task/', '/task-list/', { task: { ... } });

Task assignment page accessing data expected from the previous page. If pageBroker does not find the data, it redirects the user to fallback

pageBroker.get('task');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment