ruby-rails-starter
ruby-rails-starter copied to clipboard
Starter project for Ruby on Rails – Works with any prismic.io repository
I would prefer to have the official prismic starter app for rails stay updated rather than only keeping my forked version updated. These are the changes I made to get...
The `ref` method is defined in two modules, both of which are included in the project `ApplicationController`. The duplicate definitions are here: - https://github.com/prismicio/ruby-rails-starter/blob/master/app/controllers/prismic_controller.rb#L15 - https://github.com/prismicio/ruby-rails-starter/blob/master/app/helpers/prismic_helper.rb#L29 I believe that defining...
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,...