app/controllers/application_controller.rb
# logs out user & redirects to home page
logs out user & redirects to home page
logs out user & redirects to home page
def logout(message)
    reset_session
    redirect_to root_path, success: message
  end
def logout ( message ) reset_session redirect_to root_path , success : message end
logs out user & redirects to home page
logs out user & redirects to home page
# reset session # redirect to home page
message
<not_specific>