PageRenderTime 24ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/App_Start/FilterConfig.cs

https://bitbucket.org/parivedasolutions/attributeroutingtest
C# | 13 lines | 12 code | 1 blank | 0 comment | 0 complexity | 89dbd3c976f66f050095a7333bd09c77 MD5 | raw file
 1using System.Web;
 2using System.Web.Mvc;
 3
 4namespace AttributeRoutingTest
 5{
 6    public class FilterConfig
 7    {
 8        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
 9        {
10            filters.Add(new HandleErrorAttribute());
11        }
12    }
13}