Skip to content

Commit 778c43c

Browse files
committed
[#2171] Removed action context reset so action context items are available to templates
1 parent c95069e commit 778c43c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

framework/src/play/server/PlayHandler.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import play.Invoker.InvocationContext;
2020
import play.Logger;
2121
import play.Play;
22-
import play.data.binding.CachedBoundActionMethodArgs;
2322
import play.data.validation.Validation;
2423
import play.exceptions.PlayException;
2524
import play.exceptions.UnexpectedException;
@@ -200,13 +199,6 @@ public boolean init() {
200199
Request.current.set(request);
201200
Response.current.set(response);
202201

203-
Scope.Params.current.set(request.params);
204-
Scope.RenderArgs.current.set(null);
205-
Scope.RouteArgs.current.set(null);
206-
Scope.Session.current.set(null);
207-
Scope.Flash.current.set(null);
208-
CachedBoundActionMethodArgs.init();
209-
210202
try {
211203
if (Play.mode == Play.Mode.DEV) {
212204
Router.detectChanges(Play.ctxPath);

0 commit comments

Comments
 (0)