diff --git a/src/Umbraco.Core/Services/IFileService.cs b/src/Umbraco.Core/Services/IFileService.cs index 903603c415..fcf5f2b2f3 100644 --- a/src/Umbraco.Core/Services/IFileService.cs +++ b/src/Umbraco.Core/Services/IFileService.cs @@ -77,14 +77,14 @@ namespace Umbraco.Cms.Core.Services /// Gets a list of all objects /// /// An enumerable list of objects - IEnumerable GetStylesheets(params string[] names); + IEnumerable GetStylesheets(params string[] paths); /// /// Gets a object by its name /// - /// Name of the stylesheet incl. extension + /// Path of the stylesheet incl. extension /// A object - IStylesheet GetStylesheet(string name); + IStylesheet GetStylesheet(string path); /// /// Saves a diff --git a/src/Umbraco.Infrastructure/Services/Implement/FileService.cs b/src/Umbraco.Infrastructure/Services/Implement/FileService.cs index 64ae7c5dfc..ed7bdc9c29 100644 --- a/src/Umbraco.Infrastructure/Services/Implement/FileService.cs +++ b/src/Umbraco.Infrastructure/Services/Implement/FileService.cs @@ -56,11 +56,11 @@ namespace Umbraco.Cms.Core.Services.Implement #region Stylesheets /// - public IEnumerable GetStylesheets(params string[] names) + public IEnumerable GetStylesheets(params string[] paths) { using (IScope scope = ScopeProvider.CreateScope(autoComplete: true)) { - return _stylesheetRepository.GetMany(names); + return _stylesheetRepository.GetMany(paths); } }