public Result javascriptRoutes2(Http.Request request) {
    return ok(
        // #javascript-router-resource-custom-method
        JavaScriptReverseRouter.create(
            "jsRoutes",
            "myAjaxMethod",
            request.host(),
            routes.javascript.Users.list(),
            routes.javascript.Users.get())
        // #javascript-router-resource-custom-method
        )
        .as(Http.MimeTypes.JAVASCRIPT);
  }
public Result javascriptRoutes2(Http.Request request) {
    return ok(
        
        JavaScriptReverseRouter.create(
            "jsRoutes",
            "myAjaxMethod",
            request.host(),
            routes.javascript.Users.list(),
            routes.javascript.Users.get())
        
        )
        .as(Http.MimeTypes.JAVASCRIPT);
  }
public Result javascriptRoutes2 ( Http . Request request ) { return ok ( // #javascript-router-resource-custom-method JavaScriptReverseRouter . create ( "jsRoutes" , "myAjaxMethod" , request . host ( ) , routes . javascript . Users . list ( ) , routes . javascript . Users . get ( ) ) // #javascript-router-resource-custom-method ) . as ( Http . MimeTypes . JAVASCRIPT ) ; }
#javascript-router-resource
#javascript - router - resource