Skip to content

Commit 8393a5b

Browse files
author
Paul Johnson
authored
Merge pull request #11952 from mattbrailsford/patch-7
Don't hold static UmbracoContext reference
2 parents df6c8a4 + 8c78057 commit 8393a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.Common/Extensions/FriendlyUrlHelperExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Umbraco.Extensions
99
public static class FriendlyUrlHelperExtensions
1010
{
1111

12-
private static IUmbracoContext UmbracoContext { get; } =
12+
private static IUmbracoContext UmbracoContext =>
1313
StaticServiceProvider.Instance.GetRequiredService<IUmbracoContextAccessor>().GetRequiredUmbracoContext();
1414

1515
private static IDataProtectionProvider DataProtectionProvider { get; } =

0 commit comments

Comments
 (0)