Skip to content

Commit b5b18b8

Browse files
committed
fix itemization on article text
1 parent 43aec05 commit b5b18b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/2019-09-16-set-up-clojure-api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,16 +239,16 @@ The ***routes*** function, as the compojure [API documentation](http://weavejest
239239
240240
So, basically, ***my-routes*** is just a ring handler! we can pass 'several handlers' as arguments to ***routes*** function, and compojure have some macros ready for this, one of them is ***GET***, as you can see, the syntax is self explanatory, just keep in mind that what those macros returns under the hood is actually a response map, to proof this we are going to make something, bear with me, open up a REPL and do these steps:
241241

242-
1. Be sure your REPL is in the ***app.core*** namespace
243-
2. If ***my-routes*** return a Ring handler, then it's a function, let's see
242+
* Be sure your REPL is in the ***app.core*** namespace
243+
* If ***my-routes*** return a Ring handler, then it's a function, let's see
244244

245245

246246
```
247247
app.core> my-routes
248248
#function[compojure.core/routes/fn--2512]
249249
```
250250

251-
3. Yup! it's a function, and it's a Ring handler, so we can pass an HTTP request map? sure we can, let's use the one i paste here before:
251+
* Yup! it's a function, and it's a Ring handler, so we can pass an HTTP request map? sure we can, let's use the one i paste here before:
252252

253253
```
254254
app.core>

0 commit comments

Comments
 (0)