I don't want devise to show up upon entering site

Hello,

Newbie here.

I added the devise gem and when I go to my local host it automatically goes to the sign in/sign up screen. I want my page to go to a landing page and then when I hit the sign up/sign in button, it goes to the devise sign in/sign up page. Can someone point me in the right direction to get started on that.

Thanks,

Rick

Fix the route in your routing table.
Set the index to what your landing page.

Thank you. It works great

I prefer an approach where you only specify the authenticated user’s root

authenticated :user do
    root 'whatever#index', as: :authenticated_root
end

root to: 'landing#index'