As a user, I want the root page to be dynamic based on different scenarios. As an example, let's say I have the following models:
class User
end
class Event
end
Users can attend events and/or manage events. I want the home page to be one thing is users only attend events. I want a different page if they only manage events. I want yet another if they do both.
How would I go about having dynamic root paths? I would like https://example.com to go to different controller actions based on a condition.