Medium Trust: Fixing aditional dynamic invocations of View method.

--HG--
branch : dev
This commit is contained in:
Andre Rodrigues
2010-11-18 11:21:43 -08:00
parent 8956dcb5f5
commit 42fbe44c6b
9 changed files with 40 additions and 40 deletions

View File

@@ -48,8 +48,8 @@ namespace Orchard.Core.Routable.Controllers {
throw new ApplicationException("Ambiguous content");
}
var model = _contentManager.BuildDisplay(hits.Single());
return View(model);
dynamic model = _contentManager.BuildDisplay(hits.Single());
return View((object)model);
}
public ActionResult Slugify(string contentType, int? id, int? containerId) {