AB#8522 - Clean up
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Umbraco.Core.Runtime;
|
||||
using Umbraco.Web.BackOffice.Filters;
|
||||
using Umbraco.Web.Common.ActionResults;
|
||||
|
||||
namespace Umbraco.Web.BackOffice.Controllers
|
||||
{
|
||||
@@ -31,21 +32,5 @@ namespace Umbraco.Web.BackOffice.Controllers
|
||||
|
||||
return new JavaScriptResult(result);
|
||||
}
|
||||
|
||||
public IActionResult Reset()
|
||||
{
|
||||
_runtimeMinifier.Reset();
|
||||
|
||||
return Content("OK");
|
||||
}
|
||||
}
|
||||
|
||||
public class JavaScriptResult : ContentResult
|
||||
{
|
||||
public JavaScriptResult(string script)
|
||||
{
|
||||
this.Content = script;
|
||||
this.ContentType = "application/javascript";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user