RailsCasts Pro episodes are now free!

Learn more or hide this

David Bows's Profile

GitHub User: dbows

Site: www.tagwonder.com

Comments by David Bows

Avatar

FYI - Devise no longer uses GET for the sign_out it uses DELETE. So you need to make your log out button/link use the DELETE method. Or change your route so to something like this which will use GET.

devise_scope :user do
get "/logout" => "devise/sessions#destroy"
end