Moving cms pages into centralized test project. Adding a NullLocalalizer.Instance for initializing Localizer T properties in constructor.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4040309
This commit is contained in:
loudej
2009-11-14 05:35:58 +00:00
parent a49384ca0f
commit 6d2e8c0983
18 changed files with 1298 additions and 10 deletions

View File

@@ -24,12 +24,12 @@ namespace Orchard.Users.Controllers {
_modelManager = modelManager;
_userRepository = userRepository;
_notifier = notifier;
T = NullLocalizer.Instance;
}
public IUser CurrentUser { get; set; }
//public IText T { get; set; }
public Func<string, LocalizedString> T { get; set; }
public Localizer T { get; set; }
public ActionResult Index() {
var model = new UsersIndexViewModel();