I think the documentation is wrong about this working. I don't think it
works at the moment (but it should).
For now you should do:
focused_controller_routes do
get '/login' => 'SessionsController::New', as: 'login'
get '/logout' => 'SessionsController::Destroy', as: 'logout'
resources :sessions
end
Please could you file an issue on Github? I'd also be happy to see a
patch to make it work.
Thanks
--
http://jonathanleighton.com/