This definitely took to long for a few reasons:
- `wrap-response` needs a `{:dirs ["non-standard-dir"]}` parameter to
work with weird directories
- to have `wrap-restful-response` pickup the clojure data returned by
some routes you need to wrap your response in a `response` call
(this wasn't obvious to me because strings were returned just fine and
in the examples I didn't see anything like it before. a hint in the
readme would probably help quite a few people. or just actually
reading the docs...)
|
|
||
| 1 |
|
1 |
|
| 2 |
|
2 |
|
| 3 |
|
3 |
|
| 4 |
|
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
| 5 |
|
9 |
|
|
|
||
| 1 |
|
1 |
|
| 2 |
|
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
| 3 |
|
10 |
|
| 4 |
|
11 |
|
| 5 |
|
12 |
|
|
|
||
| 43 |
|
50 |
|
| 44 |
|
51 |
|
| 45 |
|
52 |
|
|
53 |
|
|
|
54 |
|
|
| 46 |
|
55 |
|
| 47 |
|
56 |
|
| 48 |
|
57 |
|
| 49 |
|
58 |
|
| 50 |
|
59 |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|