diff --git a/app/helpers/blacklight/layout_helper_behavior.rb b/app/helpers/blacklight/layout_helper_behavior.rb index df98590..3b3c96a 100644 --- a/app/helpers/blacklight/layout_helper_behavior.rb +++ b/app/helpers/blacklight/layout_helper_behavior.rb @@ -70,9 +70,11 @@ def opensearch_description_tag title, href # Get the page's HTML title # # @return [String] + # rubocop:disable Rails/HelperInstanceVariable def render_page_title (content_for(:page_title) if content_for?(:page_title)) || @page_title || application_name end + # rubocop:enable Rails/HelperInstanceVariable ## # Create links from a documents dynamically @@ -86,11 +88,13 @@ def render_page_title # content type, e.g. as required by atom # @option options [Array] :exclude array of format shortnames to not include in the output # @return [String] + # rubocop:disable Rails/HelperInstanceVariable def render_link_rel_alternates(document = @document, options = {}) return if document.nil? document_presenter(document).link_rel_alternates(options) end + # rubocop:enable Rails/HelperInstanceVariable ## # Render classes for the element