Sha256: 1d6ac7c44d1c03b5cfb29c5ac070ff95bfcd32229fc83cb924b7f2624d5f22be
Contents?: true
Size: 456 Bytes
Versions: 4
Compression:
Stored size: 456 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.catalog_index_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.catalog_index_path(params_for_my_collections.merge(opts)) end end
Version data entries
4 entries across 4 versions & 1 rubygems