Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

alcastle's Profile

GitHub User: alcastle

Comments by

Avatar

Someone mentioned this already, but it wasn't clear until I found this StackOverFlow answer. To sign_out, you must specify the method as 'delete'.

ruby
<%= link_to "Sign out", destroy_user_session_path, :method => :delete %>.

See http://stackoverflow.com/a/6557627/1316635