Skip to content

Commit

Permalink
Cannot migrate Innjector -> Play.beanSource
Browse files Browse the repository at this point in the history
  • Loading branch information
cies authored and cies committed Aug 9, 2023
1 parent ebdca2a commit e8da986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/play/mvc/ActionInvoker.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ boolean actionNeedsSession(Http.Request request) {
}

private PlayController createController(ActionContext context) {
PlayController controller = Play.beanSource.getBeanOfType(context.request.controllerClass);
PlayController controller = Injector.getBeanOfType(context.request.controllerClass);
if (controller instanceof PlayContextController) {
((PlayContextController) controller).setContext(context);
}
Expand Down

0 comments on commit e8da986

Please sign in to comment.