Issuet::Application.routes.draw do
  root 'home#index'

  devise_for :users
end

Issuet::Application.routes.draw do
  devise_for :users
  devise_scope :user do
    authenticated :user do
      root 'home#index', as: :authenticated_root
    end
    unauthenticated :user do
      root 'devise/sessions#new', as: :unauthenticated_root
    end
  end
end

Change roots for authed and non-authed users
Change roots for authed and non-authed users
