Fix the stuff I broke

This commit is contained in:
Timothy Baldridge 2021-12-20 09:27:46 -07:00
parent b503394de0
commit e5dd40c99c
2 changed files with 2 additions and 3 deletions

View File

@ -32,11 +32,11 @@ public class AuthoredFiles : ControllerBase
<table> <table>
{{each $.files }} {{each $.files }}
<tr> <tr>
<td><a href='https://authored-files.wabbajack.org/{{@UrlEncode($.Definition.MungedName)}}'>{{$.Definition.OriginalFileName}}</a></td> <td><a href='https://authored-files.wabbajack.org/{{$.Definition.MungedName}}'>{{$.Definition.OriginalFileName}}</a></td>
<td>{{$.HumanSize}}</td> <td>{{$.HumanSize}}</td>
<td>{{$.Definition.Author}}</td> <td>{{$.Definition.Author}}</td>
<td>{{$.Updated}}</td> <td>{{$.Updated}}</td>
<td><a href='/authored_files/direct_link/{{@UrlEncode($.Definition.MungedName)}}'>(Slow) HTTP Direct Link</a></td> <td><a href='/authored_files/direct_link/{{$.Definition.MungedName}}'>(Slow) HTTP Direct Link</a></td>
</tr> </tr>
{{/each}} {{/each}}
</table> </table>

View File

@ -9,7 +9,6 @@ public static class NettleFunctions
{ {
public static INettleCompiler RegisterWJFunctions(this INettleCompiler compiler) public static INettleCompiler RegisterWJFunctions(this INettleCompiler compiler)
{ {
compiler.RegisterFunction(new UrlEncode());
compiler.RegisterFunction(new Escape()); compiler.RegisterFunction(new Escape());
return compiler; return compiler;
} }