Method: ModsDisplay::HTML#body
- Defined in:
- lib/mods_display/html.rb
#body(view_context = ApplicationController.renderer) ⇒ Object
Need to figure out how to get the 1st title out of the list. Maybe have a separate class that will omit the first title natively and replace the first key in the the fields list with that.
49 50 51 |
# File 'lib/mods_display/html.rb', line 49 def body(view_context = ApplicationController.renderer) view_context.render ModsDisplay::RecordComponent.new(record: self), layout: false end |