Sha256: 81411588ed911c87b7588d674fb3e600c15dab15fafc2a6efa025f7481842248
Contents?: true
Size: 447 Bytes
Versions: 10
Compression:
Stored size: 447 Bytes
Contents
module Hyrax::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
10 entries across 10 versions & 2 rubygems