Skip to content

Commit 9c56b80

Browse files
valadasbdukes
andauthored
Update DNN Platform/DotNetNuke.Web.Client.ResourceManager/ClientResourceController.cs
Co-authored-by: Brian Dukes <bdukes@engagesoftware.com>
1 parent 83b001d commit 9c56b80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DNN Platform/DotNetNuke.Web.Client.ResourceManager/ClientResourceController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ private List<T> AddResource<T>(List<T> resources, T resource)
273273
{
274274
Logger.Error($"Cannot add resource {resource.ResolvedPath} to CRC id {this.controllerId} because rendering has already begun");
275275

276-
// throw new InvalidOperationException("Cannot add resources after rendering has begun.");
276+
////throw new InvalidOperationException("Cannot add resources after rendering has begun.");
277277
}
278278

279279
resources.RemoveAll(l => string.Equals(l.ResolvedPath, resource.ResolvedPath, StringComparison.OrdinalIgnoreCase)); // remove any existing link with the same key (i.e. exactly the same resolved path)

0 commit comments

Comments
 (0)