Skip to content

Instantly share code, notes, and snippets.

@LukasGasior1
Created July 27, 2015 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LukasGasior1/91ba5c4b99e7f715a379 to your computer and use it in GitHub Desktop.
Save LukasGasior1/91ba5c4b99e7f715a379 to your computer and use it in GitHub Desktop.
val statsRoute = (path("stats") & get)(handleGetStats)
private def handleGetStats: Route = { ctx =>
actorRefFactory.actorOf(GetStatsRequestActor.props(ctx, statsActor))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment