Skip to content

Instantly share code, notes, and snippets.

@passcod
Forked from jimsynz/users_controller.coffee
Last active December 21, 2015 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save passcod/6265764 to your computer and use it in GitHub Desktop.
Save passcod/6265764 to your computer and use it in GitHub Desktop.
registerNewUser: ->
@session.flush().then (models)=>
newUser = @get('content')
@transitionToRoute('user', newUser)
, (response)->
console.log response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment