docbrown/app/views/api/v0/articles
Mike Coutermarsh 4c9959f0ff Social Cards Part 2 (#2188)
* Social Cards Part 2

This is a follow up to part 1: https://github.com/thepracticaldev/dev.to/pull/2090.

This PR updates the og:image URLs to use the new social_preview.png urls
added in Part 1.

So that the already generated/cached images do not need to be recreated,
this sets a MIGRATION_DATETIME. Any object that has been updated after
that date will generate a new image

Objects from before that date will not. They will use the new url.

* Fix weird change made by rubocop autocorrect

* Handle organizations + users

* Run CI

* Use time with zone to be explicit about timezone

* Simplify branching in user_social_image_url method

* Fix param alignment + bump migration date
2019-05-01 11:07:25 -04:00
..
index.json.jbuilder Code cleanups (#659) 2018-08-07 11:00:13 -04:00
onboarding.json.jbuilder Add Save Articles Page to Onboarding (#182) 2018-04-05 11:41:28 -07:00
show.json.jbuilder Social Cards Part 2 (#2188) 2019-05-01 11:07:25 -04:00