For some reason I want to avoid being redirected after a user signs out.
here is devise's sessions controller.
I have already tried:
- to override
after_sign_out_path_forbut I get eitherNo route matches [DELETE] "/"orCannot redirect to nil! - to
skip_before_action :verify_signed_out_userin my Sessions controller; but it still tries to redirect.
How can I just destroy the users's session without being redirect ?