title: Redirect in Scala play framework
body: <p>I have a problem with Redirect in Scala play framework.</p>
  
  <p>How can I redirect to view BooksController.index() ? In documentation they suggest to use Redirect but I don't know how.     </p>
  
  <pre><code>def edit(Id: Int) = Action {
      val book: Book = Book.findById(Id)
      Ok(views.html.edit())
    }
  
    def update = Action {
        implicit request =&gt;
        val (id, title, price, author) = bookForm.bindFromRequest.get
        val book: Book = Book.findById(id)
        book.id = id
        book.title = title
        book.price = price
        book.author = author
        Redirect(routes.BooksController.index())
    }
  </code></pre>
  
  <p>Now can recognize --> import play.api.mvc.Results._ 
  But i have an error --> "object java.lang.ProcessBuilder.Redirect is not a value" </p>