public static Result javascriptRoutes() { response().setContentType("text/javascript"); return ok( Routes.javascriptRouter( "jsRoutes", // Routes for Projects controllers.routes.javascript.SoundProjects.add(), controllers.routes.javascript.SoundProjects.delete())); }
public Result jsRoutes() { return ok(Routes.javascriptRouter( "jsRoutes", controllers.routes.javascript.Signup.unverified())) .as("text/javascript"); }
public static Result jsRoutes() { return ok(Routes.javascriptRouter( "jsRoutes", controllers.routes.javascript.Signup.forgotPassword())) .as("text/javascript"); }