Permalink
Browse files

Fixed #1858 by specifying the correct view name

  • Loading branch information...
1 parent eef9a38 commit a9cb4e6c7289abd015988d488eb3af7feccdcc62 @anurse anurse committed Jan 29, 2014
@@ -169,8 +169,8 @@ private static void AppPostStart()
Routes.RegisterRoutes(RouteTable.Routes);
Routes.RegisterServiceRoutes(RouteTable.Routes);
AreaRegistration.RegisterAllAreas();
-
- GlobalFilters.Filters.Add(new ElmahHandleErrorAttribute());
+
+ GlobalFilters.Filters.Add(new ElmahHandleErrorAttribute() { View = "~/Views/Errors/InternalError.cshtml" });
GlobalFilters.Filters.Add(new ReadOnlyModeErrorFilter());
GlobalFilters.Filters.Add(new AntiForgeryErrorFilter());
ValueProviderFactories.Factories.Add(new HttpHeaderValueProviderFactory());
@@ -11,7 +11,7 @@
<h1>Error: Oh no, we broke something!</h1>
<p>You might be here because:</p>
<ul>
- <li>There is an error on our server and the server is &quot;given her all she's got, captain.&quot; </li>
+ <li>There is an error on our server and the server is &quot;givin' her all she's got, captain.&quot; </li>
<li>The system is down, the system is down, the system is down.</li>
<li>Our name is smalls.</li>
</ul>

0 comments on commit a9cb4e6

Please sign in to comment.