Module: ActiveScaffold::Actions::Search
- Includes:
- CommonSearch
- Defined in:
- lib/active_scaffold/actions/search.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/active_scaffold/actions/search.rb', line 4 def self.included(base) base.before_filter :search_authorized_filter, :only => :show_search base.before_filter :store_search_params_into_session, :only => [:index] base.before_filter :do_search, :only => [:index] base.helper_method :search_params end |
Instance Method Details
#show_search ⇒ Object
11 12 13 |
# File 'lib/active_scaffold/actions/search.rb', line 11 def show_search respond_to_action(:search) end |