Module: Geoblacklight::GeoblacklightHelperBehavior
- Included in:
- BlacklightHelper
- Defined in:
- lib/geoblacklight/geoblacklight_helper_behavior.rb
Overview
Adds helper behavior logic for GeoBlacklight, to used alongside BlacklightHelperBehavior
Instance Method Summary collapse
-
#geoblacklight_present(presenting_method, document = @document) ⇒ String
Calls the presenter on the requested method.
Instance Method Details
#geoblacklight_present(presenting_method, document = @document) ⇒ String
Calls the presenter on the requested method
10 11 12 |
# File 'lib/geoblacklight/geoblacklight_helper_behavior.rb', line 10 def geoblacklight_present(presenting_method, document = @document) presenter(document).try(presenting_method.to_sym) || '' end |