login redirect on ajax call?

If you’re doing RJS, do a page.redirect_to(url).

Jason