Permalink
Browse files

adding ActorAction info to README

  • Loading branch information...
1 parent 83f8c52 commit b3745b42bd41929390e69262f9bc7c4c369a79f3 @pk11 pk11 committed Mar 8, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 README.rst
View
@@ -47,6 +47,11 @@ Extending the Extractor based approach with regex or simple matching is possible
val id :: Nil = groups
Ok(<h1>It works with simple startsWith! - id: {id}</h1>).as("text/html")
}
+ },
+ Through("/flowers/id/") {groups: List[String] =>
+ ActorAction[String](myActor, Car) {reply: String =>
+ Ok(reply)
+ }
}
)
}

0 comments on commit b3745b4

Please sign in to comment.