I need my user when they sign out to be sent to my applications root page. Currently having trouble figuring out how to redirect logout and configure my route.
My current configuration for my routes.rb file.
devise_for :users, skip: [:sessions] as :user do delete 'logout', to: 'devise/sessions#destroy', as: :new_user_session end
I identified my logout link with the ‘logout’ but I got confused on how to send the user back to my root page.