Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. public Result list(Http.Request request)
  2. {
  3. // .... stuff with foo, while foo is an Form<foo> Object
  4. ok(views.html.index.render(foo))
  5. }
  6.  
  7. public Result add(Http.Request request)
  8. {
  9. // not allowed to add request as an argument. only empty is allowed.
  10. return Results.redirect(controllers.routes.Controller.list(request));
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement