This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Hans Schnedlitz
hansschnedlitz.com
did:plc:swsvta2kazrw3kon3ljvu45l
Devise has this nice 'authorized` helper for conditionally defining routes based on whether the user is logged in or not.
Among other things, this allows you to define multiple root routes.
If you're not using Devise, here's how to create that helper yourself.
#rubyonrails
2025-08-29T16:27:04.007Z