qol: formatting
This commit is contained in:
@@ -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>;
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user