-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
Hi Jimmy,
In ControllerExtensions you have method RedirectToActionJson, and you create url for redirect on this way: redirect = controller.Url.Action(action). You are using it like this:
return this.RedirectToActionJson(nameof(Index));
This will not work if you want to redirect on action from another controller.
Mu solution is to change:
redirect = controller.Url.Action(action) to redirect = action
and then to call it:
return this.RedirectToActionJson(Url.Action("Action", "Controller"));
Do you maybe have some better suggestion?
Metadata
Metadata
Assignees
Labels
No labels