prismicio / ruby-rails-starter

Starter project for Ruby on Rails – Works with any prismic.io repository
32 stars 21 forks source link

Linked documents + PrismicService.getDocuments #16

Open rudyrigot opened 10 years ago

rudyrigot commented 10 years ago

Making good use of the brand new linked documents exposed in the API, and listing them in the "document" page.

I used the occasion to also create a PrismicService.getDocuments method, which exists in some other starter projects (like the Node.js one).

Careful: do not merge this as long as the linked documents feature is not live in all repository APIs!