Permalink
Browse files

Changed DefaultAcceptHeaderCoercionConventions to use AcceptHeaderCoe…

…rcionConventions not StaticConventions
  • Loading branch information...
1 parent 757ec09 commit 05112385f2d8e38bf66dcae0aa9063bc50390022 @jchannon jchannon committed Dec 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Nancy/Conventions/DefaultAcceptHeaderCoercionConventions.cs
@@ -15,7 +15,7 @@ public void Initialise(NancyConventions conventions)
public Tuple<bool, string> Validate(NancyConventions conventions)
{
- if (conventions.StaticContentsConventions == null)
+ if (conventions.AcceptHeaderCoercionConventions == null)
{
return Tuple.Create(false, "The accept header coercion conventions cannot be null.");
}

0 comments on commit 0511238

Please sign in to comment.