er(routes.Tasks.info(id)))</code></pre>
			<p>
				To return a single item, update it and delete it:
			</p>
<pre><code>def info(id: Long) = SecuredApiAction { implicit request =>
  maybeItem(Task.findById(id))
 }
def update(id: Long) = SecuredApiActionWithBody { implicit request =>
  readFromRequest[Task] { task =>
    Task.basicUpdate(id, task.text, task.deadline).flatMap { isOk =>
      if (isOk) noContent() else errorInternal
    }
  }
}
def delete(id: Long) = SecuredApiAction { implicit request =>
  Ta