Sha256: 9146bb45a1891757ce2178a53219b3e26c70137b646b2d11791f6a35845a291f
Contents?: true
Size: 458 Bytes
Versions: 62
Compression:
Stored size: 458 Bytes
Contents
module CurationConcerns::SearchPathsHelper def search_path_for_my_works(opts = {}) params_for_my_works = { 'f[generic_type_sim][]' => 'Work', works: 'mine' } main_app.search_catalog_path(params_for_my_works.merge(opts)) end def search_path_for_my_collections(opts = {}) params_for_my_collections = { 'f[generic_type_sim][]' => 'Collection', works: 'mine' } main_app.search_catalog_path(params_for_my_collections.merge(opts)) end end
Version data entries
62 entries across 62 versions & 1 rubygems