G5/devise_g5_authenticatable — pull request #16 by maeve (2014-12-18 20:27:37+00:00)
Title: Gracefully handle sign out when there is no authenticated user

This will fix the occasional spurious errors we're seeing in production apps when a user logs out, then hits the browser's back button and clicks the logout link again on the cached copy of the page.