inline @inherts not required, fix
This commit is contained in:
@@ -121,9 +121,6 @@ namespace umbraco.MacroEngines
|
||||
|
||||
//Get Rid Of Whitespace From Start/End
|
||||
razorSyntax = razorSyntax.Trim();
|
||||
//Set inherits directive if not set
|
||||
if (!razorSyntax.StartsWith("@inherits"))
|
||||
razorSyntax = "@inherits umbraco.MacroEngines.DynamicNodeContext" + Environment.NewLine + razorSyntax;
|
||||
//Use MD5 as a cache key
|
||||
var syntaxMd5 = GetMd5(razorSyntax);
|
||||
var fileName = "inline-" + syntaxMd5 + "." + scriptLanguage;
|
||||
|
||||
Reference in New Issue
Block a user