Working towards routing support for miti-tenancy

Adding large-grained initialization steps for integration tests
Fixing a collection issue with shell descriptor records and manager
Adding index action to tenants controller

--HG--
branch : dev
This commit is contained in:
Louis DeJardin
2010-04-21 19:41:37 -07:00
parent 5936a86d60
commit eaf553b048
12 changed files with 257 additions and 153 deletions

View File

@@ -20,6 +20,10 @@ namespace Orchard.MultiTenancy.Controllers {
private Localizer T { get; set; }
public IOrchardServices Services { get; set; }
public ActionResult Index() {
return View("List", new TenantsListViewModel { TenantSettings = _tenantService.GetTenants() });
}
public ActionResult List() {
return View(new TenantsListViewModel { TenantSettings = _tenantService.GetTenants() });
}