diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2013-05-02 10:41:35 -0400 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2013-05-02 10:41:35 -0400 |
| commit | ea14160b8712b42b92d6a6cd01f807ad989a0b76 (patch) | |
| tree | 66d5efd5c1738d299759af5f0e651d5cdc981827 /MediaBrowser.Api/BaseApiService.cs | |
| parent | 6176225a7a5b22358be8ea88052e40d1d19e51d4 (diff) | |
| parent | 878ba9447613e0ca85434222c75ece90b1c18946 (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Api/BaseApiService.cs')
| -rw-r--r-- | MediaBrowser.Api/BaseApiService.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Api/BaseApiService.cs b/MediaBrowser.Api/BaseApiService.cs index e644f1f31..0c95f6112 100644 --- a/MediaBrowser.Api/BaseApiService.cs +++ b/MediaBrowser.Api/BaseApiService.cs @@ -76,6 +76,16 @@ namespace MediaBrowser.Api { return ResultFactory.GetCachedResult(RequestContext, cacheKey, lastDateModified, cacheDuration, factoryFn, contentType); } + + /// <summary> + /// To the static file result. + /// </summary> + /// <param name="path">The path.</param> + /// <returns>System.Object.</returns> + protected object ToStaticFileResult(string path) + { + return ResultFactory.GetStaticFileResult(RequestContext, path); + } } /// <summary> |
