Moving ContentType definitions into ItemDriver implementations

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4044436
This commit is contained in:
loudej
2009-12-22 01:55:34 +00:00
parent 88457c63b2
commit c304c5cd39
14 changed files with 95 additions and 58 deletions

View File

@@ -44,7 +44,7 @@ namespace Orchard.Users.Controllers {
}
public ActionResult Create() {
var user = Services.ContentManager.New<IUser>(Models.User.ContentType.Name);
var user = Services.ContentManager.New<IUser>(UserDriver.ContentType.Name);
var model = new UserCreateViewModel {
User = Services.ContentManager.BuildEditorModel(user)
};