Module: ActiveScaffold::Actions::Search

Defined in:
lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/actions/search.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/actions/search.rb', line 3

def self.included(base)
  base.before_filter :search_authorized_filter, :only => :show_search
  base.before_filter :do_search
end

Instance Method Details

#show_searchObject



8
9
10
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/actions/search.rb', line 8

def show_search
  respond_to_action(:search)
end