Class: Hyrax::HomepageSearchBuilder

Inherits:
SearchBuilder
  • Object
show all
Includes:
FilterByType
Defined in:
app/search_builders/hyrax/homepage_search_builder.rb

Overview

Added to allow for the My controller to show only things I have edit access to

Instance Method Summary collapse

Methods included from FilterByType

#filter_models

Instance Method Details

#only_works?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'app/search_builders/hyrax/homepage_search_builder.rb', line 7

def only_works?
  true
end