Skip to content

Commit

Permalink
PT-14042: Multiple actions matched for HEAD and root. (#657)
Browse files Browse the repository at this point in the history
fix: Multiple actions matched. The following actions matched route data and had all constraints satisfied AssetController.HandleStaticFiles and CommonController.InternalRedirect for HEAD and root.
  • Loading branch information
OlegoO authored Oct 19, 2023
1 parent a08332d commit c2d60e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VirtoCommerce.Storefront/Controllers/CommonController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public ActionResult Maintenance()
/// </summary>
/// <param name="url">URL to redirect</param>
/// <returns>Redirect to URL</returns>
[Route("common/redirect")]
[HttpGet]
public ActionResult InternalRedirect([FromRoute] string url)
{
return StoreFrontRedirectPermanent(url);
Expand Down

0 comments on commit c2d60e1

Please sign in to comment.