Module: Toolbox::Searching::ControllerInstanceMethods

Defined in:
lib/toolbox/searching.rb

Instance Method Summary collapse

Instance Method Details

#search_fieldsObject

Returns the fields (array) defined with Toolbox::Searching::ControllerClassMethods::search_fields for this controller.



66
67
68
# File 'lib/toolbox/searching.rb', line 66

def search_fields
  self.class.read_inheritable_attribute('search_fields') || nil
end