Login with Devise via jQuery Mobile

We have a working app using Devise for authentication (email, password).

To add the mobile interface we're using jQuery mobile — everything works fine, except the login via Devise won't behave.

After hitting “login” Rails processes the request correctly but all we get is a MissingTemplate (devise/sessions/create) error.


Current settings:

config.http_authenticatable_on_hxr = false

config.navigational_formats = [:"*/*", "*/*", :html, :mobile]

We're inspired by Railscast #199 (hence :mobile): http://railscasts.com/episodes/199-mobile-devices

5
задан schrader 26 April 2011 в 18:41
поделиться