Skip to content

Instantly share code, notes, and snippets.

@j-mcnally
Created September 20, 2012 22:19
Show Gist options
  • Select an option

  • Save j-mcnally/3758694 to your computer and use it in GitHub Desktop.

Select an option

Save j-mcnally/3758694 to your computer and use it in GitHub Desktop.

for a blog index

Tower.router.root[methodName] = Ember.State.transitionTo("blogs.index")

{{action blogsIndex href="true"}}

clicking the link would fire Tower.router.root['blogsIndex']

then the url changes

and it fires a url handler and decodes the url to blogs.index and fires its own Ember.State.transitionTo("blogs.index")

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