Sha256: 6dabe06ff18fddb2dbaafabeb4d5bc504212750c279d868a277da7429b74bc2e

Contents?: true

Size: 266 Bytes

Versions: 69

Compression:

Stored size: 266 Bytes

Contents

module Cul::Hydra::Controllers::Helpers
  module ActiveFedoraHelperBehavior
    def load_dc_document_from_solr(doc)
      pid = doc[:id] ? doc[:id] : doc[:id.to_s]
      result = pid ? DcDocument.load_instance_from_solr(pid,doc) : nil
      result
    end
  end
end

Version data entries

69 entries across 69 versions & 2 rubygems

Version Path
cul_hydra-1.3.4 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.3.3 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.3.2 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.3.1 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.3.0 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.2.1 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.2.0 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.1.0 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.0.7 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.0.6 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.0.5 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.0.4 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.0.3 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.0.2 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.0.1 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_hydra-1.0.0 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_scv_hydra-0.22.9.10 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_scv_hydra-0.22.9.9 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_scv_hydra-0.22.9.8 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb
cul_scv_hydra-0.22.9.7 lib/cul_hydra/controllers/helpers/active_fedora_helper_behavior.rb