Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/blame/commit/0ab0611173fcd4b38e01e9ae8f702fb56d526661/packages/DataTables.Mvc.0.1.0.68/Content/App_Start/DataTablesMvc.cs.pp
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using DataTables.Mvc.Core.Helpers;
|
|
|
|
|
using DataTables.Mvc.Core.Models;
|
|
|
|
|
using System.Web.Mvc;
|
|
|
|
|
|
|
|
|
|
[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.App_Start.DataTablesModelBinderActivator), "Start")]
|
|
|
|
|
|
|
|
|
|
namespace $rootnamespace$.App_Start
|
|
|
|
|
{
|
|
|
|
|
public static class DataTablesModelBinderActivator
|
|
|
|
|
{
|
|
|
|
|
public static void Start()
|
|
|
|
|
{
|
|
|
|
|
if (!ModelBinders.Binders.ContainsKey(typeof(DataTablesParams)))
|
|
|
|
|
ModelBinders.Binders.Add(typeof(DataTablesParams), new DataTablesModelBinder());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|