Module: BlacklightHighlight::ControllerExtension

Defined in:
lib/blacklight_highlight/controller_extension.rb

Overview

Meant to be applied on top of a controller that implements Blacklight::SolrHelper.

Class Method Summary collapse

Class Method Details

.included(some_class) ⇒ Object



4
5
6
7
# File 'lib/blacklight_highlight/controller_extension.rb', line 4

def self.included(some_class)
  some_class.helper BlacklightHighlightHelper
  some_class.send(:include, BlacklightHighlight::SolrHelperExtension)
end