I want to be able to send already-signed-in-users somewhere else when they go to the sign in page. Right now they are sent to the root path.
I tried making my own new action in sessions controller but it doesn’t seem to work. The text I try to print out on the log to test out doesn’t even come out, so I think the user is redirected somewhere up the chain.
How do you do this?
I think what you are looking for is after_sign_in_path_for. If you define that method in your application_controller.rb file you can return whatever path you want the user to be redirected to.