FilterConfig.cs 258 Bytes
Newer Older
Clément's avatar
MVC  
Clément committed
1
2
3
4
5
6
7
8
9
10
11
12
13
using System.Web;
using System.Web.Mvc;

namespace MVC
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
        }
    }
}