Guest User

Untitled

a guest
Nov 20th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. def show(id: PostId) = Action { implicit request =>
  2. posts().get(id) match {
  3. case Some(post) => Ok(views.html.posts.edit(id, postContentForm.fill(post.content)))
  4. case None => NotFound(notFound(request, None))
  5. }
  6. }
Add Comment
Please, Sign In to add comment