Skip to content

Commit

Permalink
revert change and ignore rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
summer-cook committed Aug 4, 2023
1 parent 400fb6f commit 840f598
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/services/hyrax/manifest_builder_service_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ def loof(text)
CGI.unescapeHTML(Loofah.fragment(text.to_s).scrub!(:prune).to_s)
end

def sanitize_v3(input_hash:, presenter:, solr_doc_hits:)
hash = super(input_hash, presenter: presenter, solr_doc_hits: solr_doc_hits)
# rubocop:disable Lint/ShadowedArgument
def sanitize_v3(hash:, presenter:, solr_doc_hits:)
hash = super
hash['viewingHint'] = 'paged'
hash
end
# rubocop:enable Lint/ShadowedArgument
end
end

Expand Down

0 comments on commit 840f598

Please sign in to comment.