diff --git a/Disco.Web/Areas/Config/ConfigAreaRegistration.cs b/Disco.Web/Areas/Config/ConfigAreaRegistration.cs
index 41660a3c..43f626a6 100644
--- a/Disco.Web/Areas/Config/ConfigAreaRegistration.cs
+++ b/Disco.Web/Areas/Config/ConfigAreaRegistration.cs
@@ -54,21 +54,6 @@ namespace Disco.Web.Areas.Config
"Config/DeviceProfile/{id}",
new { controller = "DeviceProfile", action = "Index", id = UrlParameter.Optional }
);
- context.MapRoute(
- "Config_AttachmentType_Create",
- "Config/AttachmentType/Create",
- new { controller = "AttachmentType", action = "Create" }
- );
- context.MapRoute(
- "Config_AttachmentType_ExpressionBrowser_Type",
- "Config/AttachmentType/ExpressionBrowser/{type}",
- new { controller = "AttachmentType", action = "ExpressionBrowser", type = UrlParameter.Optional }
- );
- context.MapRoute(
- "Config_AttachmentType",
- "Config/AttachmentType/{id}",
- new { controller = "AttachmentType", action = "Index", id = UrlParameter.Optional }
- );
context.MapRoute(
"Config_DocumentTemplate_Create",
"Config/DocumentTemplate/Create",
diff --git a/Disco.Web/Areas/Config/Views/DeviceProfile/Show.cshtml b/Disco.Web/Areas/Config/Views/DeviceProfile/Show.cshtml
index 5d710404..7db792e1 100644
--- a/Disco.Web/Areas/Config/Views/DeviceProfile/Show.cshtml
+++ b/Disco.Web/Areas/Config/Views/DeviceProfile/Show.cshtml
@@ -368,7 +368,7 @@
$dialog.dialog("close");
},
"Expression Browser": () => {
- window.open('@(Url.Action(MVC.Config.DocumentTemplate.ExpressionBrowser()))', '_blank');
+ window.open('@(Url.Action(MVC.Config.Expressions.Browser()))', '_blank');
},
"Save": () => {
const $form = $textarea.closest('form');
diff --git a/Disco.Web/Areas/Config/Views/DeviceProfile/Show.generated.cs b/Disco.Web/Areas/Config/Views/DeviceProfile/Show.generated.cs
index a651cce6..e2da42e5 100644
--- a/Disco.Web/Areas/Config/Views/DeviceProfile/Show.generated.cs
+++ b/Disco.Web/Areas/Config/Views/DeviceProfile/Show.generated.cs
@@ -1409,7 +1409,7 @@ WriteLiteral(@">
#line 371 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
- Write(Url.Action(MVC.Config.DocumentTemplate.ExpressionBrowser()));
+ Write(Url.Action(MVC.Config.Expressions.Browser()));
#line default
@@ -2541,14 +2541,14 @@ WriteLiteral(" class=\"fa fa-info-circle\"");
WriteLiteral(">View the (Url.Action(MVC.Config.Plugins.Install())
+, Tuple.Create(Tuple.Create("", 48831), Tuple.Create
- This template is generated from @(Model.DocumentTemplate.Scope)s. Any expressions within the Template PDF will be evaluated within the @(Model.DocumentTemplate.Scope) Scope. + This template is generated from @(Model.DocumentTemplate.Scope)s. Any expressions within the Template PDF will be evaluated within the @(Model.DocumentTemplate.Scope) Scope.
This item will be permanently deleted and cannot be recovered.
@@ -1050,7 +1050,7 @@
}
@if (Authorization.Has(Claims.Config.Show))
{
- @Html.ActionLinkButton("Expression Browser", MVC.Config.DocumentTemplate.ExpressionBrowser())
+ @Html.ActionLinkButton("Expression Browser", MVC.Config.Expressions.Browser())
}
@if (canBulkGenerate)
{
diff --git a/Disco.Web/Areas/Config/Views/DocumentTemplate/Show.generated.cs b/Disco.Web/Areas/Config/Views/DocumentTemplate/Show.generated.cs
index 62202e43..c5f1c6b9 100644
--- a/Disco.Web/Areas/Config/Views/DocumentTemplate/Show.generated.cs
+++ b/Disco.Web/Areas/Config/Views/DocumentTemplate/Show.generated.cs
@@ -459,30 +459,30 @@ WriteLiteral(">This template is generated from ");
#line hidden
WriteLiteral("s. Any expressions within the Template PDF will be evaluated within the (Url.Action(MVC.Config.DocumentTemplate.ExpressionBrowser())
+ , Tuple.Create(Tuple.Create("", 6958), Tuple.Create