case _ =>
Redirect("/link").flashing("success" -> "other"
Hi,--looked into very promising ActiveSlick library, but cant get it to work.Sample code:
val total = SomeRepo.count
total.flatMap {
case j:Int =>
Redirect("/link").flashing("success" -> j.toString)
case _ =>
Redirect("/link").flashing("success" -> "other")
}
Error:type mismatch; found : play.api.mvc.Result required: slick.dbio.DBIOAction[?,?,?]Has anyone using ActiveSlick? Can't find any up to date examples.Edgars
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/ddd0e24a-ebd6-41a0-982f-9c6143f51aea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.