You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to build routing similar to Twitter for usernames: i.e.: example.com/username. However, that means I need to put all my other routes behind a path so it won't conflict: example.com/App/settings.
I could write custom routing for all my controllers, but I don't want to throw away all of the auto-routing logic. Is there a way I can add a prefix route to my controllers?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to build routing similar to Twitter for usernames: i.e.:
example.com/username.
However, that means I need to put all my other routes behind a path so it won't conflict:example.com/App/settings
.I could write custom routing for all my controllers, but I don't want to throw away all of the auto-routing logic. Is there a way I can add a prefix route to my controllers?
Beta Was this translation helpful? Give feedback.
All reactions