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
However, when I browse to the url /Review/Index, it does not redirect me to /Home/Index, as I would expect. I'm not sure if there's anything else I need to do in order to get this to work. My intent is to prevent users from accessing the ReviewController for a while since we're re-developing, and the app is still in a testing cycle.
Am I missing any other configuration to get this temporary redirect to work?
The text was updated successfully, but these errors were encountered:
Well the problem is that /Review/Index matches the default home route, so the redirect route is never reached. Try adding a constraint to default route so that the controller cannot be named "Review".
I have a route configured as follows:
However, when I browse to the url /Review/Index, it does not redirect me to /Home/Index, as I would expect. I'm not sure if there's anything else I need to do in order to get this to work. My intent is to prevent users from accessing the ReviewController for a while since we're re-developing, and the app is still in a testing cycle.
Am I missing any other configuration to get this temporary redirect to work?
The text was updated successfully, but these errors were encountered: