v79
11/21/2018, 1:19 PMfun Routing.customer() { get("/customer") {... } }
and fun Routing.admin() { get("/admin") {...} }
and then call each of them inside Application.mainModule() ...
? Any way of using classes instead of top-level functions?halley
11/21/2018, 1:41 PMmp
11/21/2018, 1:47 PMv79
11/21/2018, 1:48 PMhalley
11/21/2018, 1:51 PMmp
11/21/2018, 1:52 PMhalley
11/21/2018, 1:55 PMRouting.method(args) = route
extensions in various files for the various paths, and the args are things like a single DAO. Didn't use injections yet. Thanks for the sample!v79
11/21/2018, 2:14 PM