Created
May 2, 2015 19:31
-
-
Save JosephMoniz/130d88c774c6fc1cfd6c to your computer and use it in GitHub Desktop.
An example identity middleware
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final case class IdentityMiddleware() extends Middleware { | |
def intercept(next: Controller) = AdhocController { request => | |
next.action(request) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment