Created
February 11, 2014 16:01
-
-
Save johngruen/8937762 to your computer and use it in GitHub Desktop.
fxa paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Router = Backbone.Router.extend({ | |
routes: { | |
'': 'redirectToSignup', | |
'signin': showView(SignInView), | |
'signup': showView(SignUpView), | |
'confirm': showView(ConfirmView), | |
'settings': showView(SettingsView), | |
'change_password': showView(ChangePasswordView), | |
//'delete_account': showView(DeleteAccountView), | |
'legal/terms': showView(TosView), | |
'legal/privacy': showView(PpView), | |
'cannot_create_account': showView(CannotCreateAccountView), | |
'verify_email': showView(CompleteSignUpView), | |
'reset_password': showView(ResetPasswordView), | |
'confirm_reset_password': showView(ConfirmResetPasswordView), | |
'complete_reset_password': showView(CompleteResetPasswordView), | |
'reset_password_complete': showView(ResetPasswordCompleteView), | |
'force_auth': showView(SignInView, { forceAuth: true }) | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment