diff --git a/Gemfile.lock b/Gemfile.lock index e2f98c36b..74e18737b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -120,7 +120,7 @@ GIT GIT remote: https://github.com/samvera/hyrax.git - revision: e4886f1e70a1ee9962c604a76a523ef4b32ccd46 + revision: ce352d3d10390f0032fa131010ab9d76759faddd branch: main specs: hyrax (5.0.1) diff --git a/app/forms/concerns/hyrax/basic_metadata_form_fields_behavior_decorator.rb b/app/forms/concerns/hyrax/basic_metadata_form_fields_behavior_decorator.rb deleted file mode 100644 index 6637ffe0b..000000000 --- a/app/forms/concerns/hyrax/basic_metadata_form_fields_behavior_decorator.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true -module Hyrax - module BasicMetadataFormFieldsBehaviorDecorator - def based_near_prepopulator - self.based_near = based_near.map do |loc| - uri = RDF::URI.parse(loc) - if uri - Hyrax::ControlledVocabularies::Location.new(uri) - else - loc - end - end - end - end -end - -Hyrax::BasicMetadataFormFieldsBehavior.prepend(Hyrax::BasicMetadataFormFieldsBehaviorDecorator)