Skip to content Skip to sidebar Skip to footer

Marionette.js With Rails (devise) Authentication

Curious as to how people usually handle this. My strategy is to have an authorized root route and unauthorized root route. The authorized users get sent directly to my marionette.

Solution 1:

I find it painful and unnecessary to try and make Backbone/Marionette handle the authentication and re-loading of the authorized site stuff. Once they log in, redirect them to a different URL that the server handles, and have the server send down all the stuff that they need, as an authenticated user.


Post a Comment for "Marionette.js With Rails (devise) Authentication"