Fixing minor error with comment

This commit is contained in:
Steve Gordon 2015-12-30 22:33:56 +00:00 committed by ryanbrandenburg
parent cad7d44686
commit d0046cafe9
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ namespace Microsoft.AspNet.Mvc.Formatters
return;
}
// If the action sets a single content type, then its takes precedence over the user
// If the action sets a single content type, then it takes precedence over the user
// supplied content type based on format mapping.
if ((objectResult.ContentTypes != null && objectResult.ContentTypes.Count == 1) ||
!string.IsNullOrEmpty(context.HttpContext.Response.ContentType))