Skip to content

Commit 136b90a

Browse files
committed
Change IsInertiaRequest extension method visibility to public
1 parent 71f968c commit 136b90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InertiaNetCore/Extensions/InertiaExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ internal static string RequestedUri(this HttpContext context)
3737
return Uri.UnescapeDataString(context.Request.GetEncodedPathAndQuery());
3838
}
3939

40-
internal static bool IsInertiaRequest(this HttpContext context)
40+
public static bool IsInertiaRequest(this HttpContext context)
4141
{
4242
return bool.TryParse(context.Request.Headers["X-Inertia"], out _);
4343
}

0 commit comments

Comments
 (0)