Permalink
Browse files

Merge pull request #858 from jchannon/AcceptHeaderCoercionConventions

Fixed DefaultAcceptHeaderCoercionConventions
  • Loading branch information...
2 parents 757ec09 + 0511238 commit c00dbb903f5b9159a9d19775dc42673060725b7d @grumpydev grumpydev 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 c00dbb9

Please sign in to comment.