This part indicates that if you turn off the use of sessions for all authentication methods, for example, on the following line:
config.skip_session_storage = [:http_auth, :token_auth]
then you don’t need routes to sessions automatically generated by devise_for by default. Therefore, you should add the following to config/routes.rb :
devise_for :users, :skip => :sessions
Hope this helps.
nsarno
source share