Class: Blacklight::Rendering::LinkToFacet

Inherits:
AbstractStep show all
Defined in:
app/presenters/blacklight/rendering/link_to_facet.rb

Instance Attribute Summary

Attributes inherited from AbstractStep

#config, #context, #document, #options, #stack, #values

Instance Method Summary collapse

Methods inherited from AbstractStep

#initialize, #next_step

Constructor Details

This class inherits a constructor from Blacklight::Rendering::AbstractStep

Instance Method Details

#renderObject



4
5
6
7
8
# File 'app/presenters/blacklight/rendering/link_to_facet.rb', line 4

def render
  # TODO: We should rename the config variable, because it creates a link to a facet.
  return next_step(values) unless config.link_to_search
  next_step(render_link)
end