Pregunta

crosspost: https://orchard.codeplex.com/discussions/472090

Can we get the ErrorPage shape to render by a specific route like ~/Error/ErrorPage or something? 500 errors serve the Runtime Error page in my site and I'd like to redirect those via customErrors to the default ErrorPage or Orchard instead.

¿Fue útil?

Solución

Write a controller and create a route that points to it. From your controller action, throw an exception.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top