Rails.application.routes.draw do
  devise_for :users
  get 'w_elcome/index'

root 'w_elcome#index'

resources :notes
  
end

Rails.application.routes.draw do
  devise_for :users
  get 'w_elcome/index'
  resources :notes
  authenticated :user do
      root 'notes#index', as: "authenticated_root"
  end

root 'w_elcome#index'
end

Change root based on if user_signed_in?
Change root based on if user_signed_in?
