Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def show(id: PostId) = Action { implicit request =>
- posts().get(id) match {
- case Some(post) => Ok(views.html.posts.edit(id, postContentForm.fill(post.content)))
- case None => NotFound(notFound(request, None))
- }
- }
Add Comment
Please, Sign In to add comment