Module: Geoblacklight::GeoblacklightHelperBehavior

Includes:
Blacklight::BlacklightHelperBehavior
Included in:
BlacklightHelper
Defined in:
app/helpers/geoblacklight/geoblacklight_helper_behavior.rb

Instance Method Summary collapse

Instance Method Details

#geoblacklight_present(presenting_method, document = @document) ⇒ String

Deprecated.

Calls the presenter on the requested method

Parameters:

  • presenting_method (Symbol, String)

Returns:

  • (String)


18
19
20
# File 'app/helpers/geoblacklight/geoblacklight_helper_behavior.rb', line 18

def geoblacklight_present(presenting_method, document = @document)
  Geoblacklight.deprecation.silence { document_presenter(document).try(presenting_method.to_sym) } || ""
end