Updating PR after feedback from @sitereactor

This commit is contained in:
Sebastiaan Janssen
2014-08-20 14:08:45 +02:00
parent a9277113b1
commit de34379ddf
4 changed files with 11 additions and 10 deletions

View File

@@ -49,7 +49,7 @@ namespace Umbraco.Web.WebServices
Content = contents,
};
var fileService = new FileService();
var fileService = (FileService)ApplicationContext.Current.Services.FileService;
var attempt = fileService.SavePartialView(partialView);
if (attempt.Success == false)