No route matches [GET] “/users/sign_out”

You can end a session via get by changing the devise configuration in initializers.

# The default HTTP method used to sign out a resource. Default is :delete.
config.sign_out_via = :get

Just open the link and your session is removed.

Leave a Comment