RailsCasts Pro episodes are now free!

Learn more or hide this

John's Profile

GitHub User: yubrew

Comments by John

Avatar

You have this:
<%= link_to "Logout", destroy_user_session_path, method: :delete%>

Try this instead:
<%= link_to "Logout", destroy_user_session_path, method: :delete %>

You might want to use stackoverflow for help with these questions in the future. You'll probably get a faster and more helpful response.