Skip to content

Commit

Permalink
[#2171] Removed action context reset so action context items are avai…
Browse files Browse the repository at this point in the history
…lable to templates
  • Loading branch information
sant0s committed Apr 11, 2019
1 parent c95069e commit 778c43c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions framework/src/play/server/PlayHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import play.Invoker.InvocationContext;
import play.Logger;
import play.Play;
import play.data.binding.CachedBoundActionMethodArgs;
import play.data.validation.Validation;
import play.exceptions.PlayException;
import play.exceptions.UnexpectedException;
Expand Down Expand Up @@ -200,13 +199,6 @@ public boolean init() {
Request.current.set(request);
Response.current.set(response);

Scope.Params.current.set(request.params);
Scope.RenderArgs.current.set(null);
Scope.RouteArgs.current.set(null);
Scope.Session.current.set(null);
Scope.Flash.current.set(null);
CachedBoundActionMethodArgs.init();

try {
if (Play.mode == Play.Mode.DEV) {
Router.detectChanges(Play.ctxPath);
Expand Down

0 comments on commit 778c43c

Please sign in to comment.