typesafehub/play2-mini — comment on commit a2b2871c988384ceb8e4770ba93be14a15dd0524
File: README line 8
By guillaumebort:

Why using magic here to instantiate the application?

It would probably be simpler and more robust to use a constructor argument and let the user instantiate the application himself:

object Global extends play.api.mini.Setup(new com.example.App)

Or as the application is probably a singleton object:

object Global extends play.api.mini.Setup(com.example.App)