Browse files

Update inject/README.md

  • Loading branch information...
1 parent e71019c commit f8364cfc42f2e03696bf1e9a51e5acdeffcd21b0 @pk11 pk11 committed May 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 inject/README.md
View
3 inject/README.md
@@ -72,7 +72,8 @@ public class Dependencies {
public static InjectPlugin inject() {
return Play.application().plugin(InjectPlugin.class);
}
-
+
+ //this is needed for each controller
public static controllers.Application application() {
return inject().getInstance(controllers.Application.class);
}

0 comments on commit f8364cf

Please sign in to comment.