We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c81a82a + a929ae1 commit a4c7733Copy full SHA for a4c7733
1 file changed
src/NuGetGallery/App_Start/AppActivator.cs
@@ -248,7 +248,7 @@ private static void AppPostStart(IAppConfiguration configuration)
248
// Log unhandled exceptions
249
GlobalConfiguration.Configuration.Services.Add(typeof(IExceptionLogger), new QuietExceptionLogger());
250
251
- Routes.RegisterRoutes(RouteTable.Routes, configuration.FeedOnlyMode);
+ Routes.RegisterRoutes(RouteTable.Routes, configuration.FeedOnlyMode, configuration.AdminPanelEnabled);
252
AreaRegistration.RegisterAllAreas();
253
254
GlobalFilters.Filters.Add(new SendErrorsToTelemetryAttribute { View = "~/Views/Errors/InternalError.cshtml" });
0 commit comments