I am working on a spree e-commerce developed in ruby-on-rails and when you logout from the admin panel you are taken to the store home. I need to stay in admin section (log in page) after log out from admin. The problem is that I have installed 'spree_auto_devise' gem and I don't know how to overwrite the route after the user destroy method.
Can anybody help me please?