qol: formatting

This commit is contained in:
Gary Sharp
2025-07-20 13:47:56 +10:00
parent 49da389c2c
commit 5792771ea1
158 changed files with 693 additions and 679 deletions
@@ -1,5 +1,5 @@
using Disco.Services.Authorization;
using Disco.Models.Repository;
using Disco.Models.Repository;
using Disco.Services.Authorization;
using Disco.Services.Users;
namespace Disco.Services.Web
@@ -25,7 +25,7 @@ namespace Disco.Services.Web
public static void BundleDeferred(this HtmlHelper htmlHelper, string BundleUrl)
=> htmlHelper.ViewContext.HttpContext.BundleDeferred(BundleUrl);
public static HtmlString BundleRenderDeferred(this HtmlHelper htmlHelper)
{
var deferredBundles = htmlHelper.ViewContext.HttpContext.Items[BundleTable.DeferredKey] as List<string>;
+1 -1
View File
@@ -5,7 +5,7 @@ namespace Disco.Services.Web.Bundles
public class UrlBundle : IBundle
{
public bool RemapRequest { get { return false; } }
public string Url { get; private set; }
public string VersionUrl { get; private set; }
+1 -1
View File
@@ -28,7 +28,7 @@ namespace Disco.Services.Web
ViewData = new ViewDataDictionary<HandleErrorInfo>(model),
TempData = filterContext.Controller.TempData
};
filterContext.Result = result;
filterContext.ExceptionHandled = true;
contextResponse.Clear();