title: could not find implicit value for parameter flash: play.api.mvc.Flash
body: <p>I have based the app on a couple of the sample apps but im getting the error:
  could not find implicit value for parameter flash: play.api.mvc.Flash</p>
  
  <p>(i want the flash to satify the templates @(title: String, user: User, systems: List[System], currentOrderBy: Int, currentFilter: String)(implicit flash: play.api.mvc.Flash) 
  signature so I can pass the prior results in)</p>
  
  <p>this is my code that give the issue:</p>
  
  <pre><code>def index = IsAuthenticated { username =&gt; _ =&gt; 
      User.findByEmail(username).map { user =&gt;
        Ok(
          html.systems.systems("Ken2::Systems",
            user,
            System.all,
            1, "%"
          )
        )
      }.getOrElse(Forbidden)
    }
  </code></pre>
  
  <p>in the documentationn it says :
  If the error ‘could not find implicit value for parameter flash: play.api.mvc.Flash’ is raised then this is because your Action didn’t import a request object. Add an “implicit request=>” as show below:</p>
  
  <pre><code>def index() = Action {   
    implicit request =&gt;
      Ok(views.html.Application.index())
  }
  </code></pre>
  
  <p>but where in my code would i stick this implicit request ? (the format of my code comes from one of the sample apps)</p>
  
  <p>thank you</p>