Permalink
Browse files

Fix typo

  • Loading branch information...
1 parent 0080553 commit 660f919e2afe8cdd04475bc849d45d715e871540 @jrsconfitto jrsconfitto committed Mar 4, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Nancy/Responses/GenericFileResponse.cs
@@ -64,7 +64,7 @@ public GenericFileResponse(string filePath, NancyContext context)
/// <param name="context">Current context</param>
public GenericFileResponse(string filePath, string contentType, NancyContext context = null)
{
- InitializeGenericFileResonse(filePath, contentType, context);
+ InitializeGenericFileResponse(filePath, contentType, context);
}
/// <summary>
@@ -101,7 +101,7 @@ static bool IsSafeFilePath(string rootPath, string filePath)
return fullPath.StartsWith(rootPath, StringComparison.OrdinalIgnoreCase);
}
- private void InitializeGenericFileResonse(string filePath, string contentType, NancyContext context)
+ private void InitializeGenericFileResponse(string filePath, string contentType, NancyContext context)
{
if (string.IsNullOrEmpty(filePath))
{

0 comments on commit 660f919

Please sign in to comment.