using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Web; using System.Web.Mvc; using Resources.Helper; using Weee.DAL; using Weee.Filter; namespace Weee.Controllers { [RoutePrefix("Partials")] //[MvcMultilanguage]disable obsolete warning, not sure OK or not public class PartialController : QcarbonControllerBase { public PartialController(WeeeDataContext db) : base(db) { } // GET: /Partial/ [Route("{folder}")] public ActionResult Index(string folder) { folder = folder.Trim().Replace("-", "/"); return PartialView(folder); } } }