Class: Blacklight::IndexPresenter

Inherits:
DocumentPresenter show all
Defined in:
app/presenters/blacklight/index_presenter.rb

Instance Attribute Summary

Attributes inherited from DocumentPresenter

#configuration, #document, #view_context

Instance Method Summary collapse

Methods inherited from DocumentPresenter

#display_type, #field_presenters, #field_value, #fields_to_render, #heading, #html_title, #initialize, #inspect, #link_rel_alternates, #show_view_config, #thumbnail, #thumbnail_presenter_class

Constructor Details

This class inherits a constructor from Blacklight::DocumentPresenter

Instance Method Details

#view_configObject



5
6
7
# File 'app/presenters/blacklight/index_presenter.rb', line 5

def view_config
  @view_config ||= configuration.view_config(view_context.document_index_view_type, action_name: view_context.action_name)
end