using System.Web.Mvc;

namespace InventoryTraker.Web
{
	public class FilterConfig
	{
		public static void RegisterGlobalFilters(GlobalFilterCollection filters)
		{
			filters.Add(new HandleErrorAttribute());
			//Controllers are secure-by-default. 
			filters.Add(new AuthorizeAttribute());
		}
	}
}