plataformatec/devise — Issue #1452: 401 error when using jQuery Mobile and added mobile format.
Author: dfischer
Created: 2011-11-22 01:14:10+00:00
State: open

I added a mobile format using https://github.com/tscolari/mobylette

I get a 401 error when I'm viewing a page that requires a logged in user.

I did the Responder alias.

After tweaking around I got it to work with:

``` config.http_authenticatable_on_xhr = false```

However I thought just adding :mobile to navigational_formats would do it. It did not. Is doing the ```on_xhr = false``` the right thing to do or is there a bug somewhere not recognizing navigational_formats?