Skip to content

Commit

Permalink
Fixed #1858 by specifying the correct view name
Browse files Browse the repository at this point in the history
  • Loading branch information
analogrelay committed Jan 29, 2014
1 parent eef9a38 commit a9cb4e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/NuGetGallery/App_Start/AppActivator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion src/NuGetGallery/Views/Errors/InternalError.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit a9cb4e6

Please sign in to comment.