Fix link to error view

This commit is contained in:
dsanz 2017-03-02 16:17:20 +01:00
parent 812552cf3f
commit 2b67a3b4b2
2 changed files with 7 additions and 2 deletions

View File

@ -66,5 +66,10 @@ namespace eShopWeb.Controllers
return File(b, "image/png");
}
public IActionResult Error()
{
return View();
}
}
}

View File

@ -63,7 +63,7 @@ namespace eShopWeb
}
else
{
app.UseExceptionHandler("/Home/Error");
app.UseExceptionHandler("/Catalog/Error");
}
app.UseStaticFiles();