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