Sha256: 0e213780626c1df7b5a4fa3c41d49db8e10fe014e317c55dd94d019341b3d636

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

module Hydra::GenericContentObjectsHelperBehavior
  
  def datastream_disseminator_url pid, datastream_name
    ActiveFedora::Base.connection_for_pid(pid).client.url + "/get/#{pid}/#{datastream_name}"
  end
  
  def disseminator_link pid, datastream_name
    link_to 'view', datastream_disseminator_url(pid, datastream_name), :class=>"fbImage"
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydra-head-4.0.3 app/helpers/hydra/generic_content_objects_helper_behavior.rb
hydra-head-4.0.2 app/helpers/hydra/generic_content_objects_helper_behavior.rb