Sha256: 4f8ae19f8eddd0cb8e87e626c964bf3c6848a10bff2e59b84a2052910dfc689b

Contents?: true

Size: 417 Bytes

Versions: 58

Compression:

Stored size: 417 Bytes

Contents

module Hyrax
  module UrlHelper
    # generated models get registered as curation concerns and need a
    # track_model_path to render Blacklight-related views
    (['FileSet', 'Collection'] + Hyrax.config.registered_curation_concern_types).each do |concern|
      define_method("track_#{concern.constantize.model_name.singular_route_key}_path") { |*args| main_app.track_solr_document_path(*args) }
    end
  end
end

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
hyrax-2.9.6 app/helpers/hyrax/url_helper.rb
hyrax-2.9.5 app/helpers/hyrax/url_helper.rb
hyrax-2.9.4 app/helpers/hyrax/url_helper.rb
hyrax-2.9.3 app/helpers/hyrax/url_helper.rb
hyrax-2.9.2 app/helpers/hyrax/url_helper.rb
hyrax-2.9.1 app/helpers/hyrax/url_helper.rb
hyrax-2.9.0 app/helpers/hyrax/url_helper.rb
hyrax-2.8.0 app/helpers/hyrax/url_helper.rb
hyrax-2.7.2 app/helpers/hyrax/url_helper.rb
hyrax-2.7.1 app/helpers/hyrax/url_helper.rb
hyrax-2.7.0 app/helpers/hyrax/url_helper.rb
hyrax-2.6.0 app/helpers/hyrax/url_helper.rb
hyrax-3.0.0.pre.rc1 app/helpers/hyrax/url_helper.rb
hyrax-3.0.0.pre.beta3 app/helpers/hyrax/url_helper.rb
hyrax-2.5.1 app/helpers/hyrax/url_helper.rb
hyrax-2.5.0 app/helpers/hyrax/url_helper.rb
hyrax-3.0.0.pre.beta2 app/helpers/hyrax/url_helper.rb
hyrax-2.4.1 app/helpers/hyrax/url_helper.rb
hyrax-3.0.0.pre.beta1 app/helpers/hyrax/url_helper.rb
hyrax-2.4.0 app/helpers/hyrax/url_helper.rb