scribe/src/actions
Edward Loveall f05a12a880
Add support for missing posts
Posts, like 8661f4724aa9, can go missing if the account or post was
removed. In this case, the API returns data like this:

```json
{
  "data": {
    "post": null
  }
}
```

When this happens, we can detect it because the parsed response now has
a nil value: `response.data.post == nil` and construct an `EmptyPage`
instead of a `Page`. The `Articles::Show` action can then render
conditionally based on if the response from `PageConverter` is a `Page`
or an `EmptyPage`.
2022-06-17 16:00:01 -04:00
..
articles Add support for missing posts 2022-06-17 16:00:01 -04:00
errors Add support for missing posts 2022-06-17 16:00:01 -04:00
faq Add FAQ 2021-10-23 15:34:13 -04:00
home Add home page 2021-09-06 13:38:18 -04:00
mixins Initial app 2021-05-01 17:03:38 -04:00
api_action.cr Upgrade Crystal to 1.2.1 and Lucky to 0.29.0 2021-12-12 12:01:55 -05:00
browser_action.cr Upgrade Crystal to 1.2.1 and Lucky to 0.29.0 2021-12-12 12:01:55 -05:00