stravid/slotcars — pull request #169 by tombu (2012-05-17 21:05:54+00:00)
Title: PR: bug/login logout fail

This PR fixes the 'WARNING: Can´t verify CSRF token authenticity' bug after Login -> Logout -> Login.
After a user is successfully signed out, Devise creates a new CSRF token. This solution passes the newly created token to the client (as part of success response of a sign out) and then updates the meta tag.