module ActiveScaffold::Actions::Search::InstanceMethods

Protected Instance Methods

search_ignore?() click to toggle source
# File lib/active_scaffold/actions/search.rb, line 41
def search_ignore?
  active_scaffold_config.list.always_show_search && active_scaffold_config.list.search_partial == 'search'
end
search_respond_to_html() click to toggle source
# File lib/active_scaffold/actions/search.rb, line 11
def search_respond_to_html
  render(:action => 'search')
end
search_respond_to_js() click to toggle source
# File lib/active_scaffold/actions/search.rb, line 15
def search_respond_to_js
  render(:partial => 'search')
end

Private Instance Methods

search_formats() click to toggle source
# File lib/active_scaffold/actions/search.rb, line 47
def search_formats
  (default_formats + active_scaffold_config.formats + active_scaffold_config.search.formats).uniq
end