Added some hacks to get http get calls to be validated when an attribute exists on a controller action

--HG--
branch : dev
This commit is contained in:
Erik Porter
2010-02-16 15:27:30 -08:00
parent 06e36a9a37
commit 7d543e14d3
5 changed files with 106 additions and 9 deletions

View File

@@ -37,6 +37,8 @@ namespace Orchard.Web {
}
protected void Application_BeginRequest() {
Context.Items["originalHttpContext"] = Context;
_host.BeginRequest();
}