Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
luanpotter committed Sep 7, 2018
1 parent 5b94fe9 commit b71eaba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ Now, in your controller/application, instead of
You do:

```java
withLogger.get("/foo", (req, resp) -> "bar");
secretPanda.get("/foo", (req, resp) -> "bar");
```

And your request has been enriched. You'd of course statically import `get` from `Spark`, and now also statically import `withLogger` from your class.
And your request has been enriched. You'd of course statically import `get` from `Spark`, and now also statically import `secretPanda` from your class.

Pretty neat, hum? Let's see a more complex example now!

Expand Down

0 comments on commit b71eaba

Please sign in to comment.