Module: ActiveScaffold::Actions::LiveSearch
- Includes:
- Search
- Defined in:
- lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/actions/live_search.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Search
#reset_search, #reset_search_session_info, #search_session_info, #store_params_into_search_session_info
Class Method Details
.included(base) ⇒ Object
5
6
7
8
|
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/actions/live_search.rb', line 5
def self.included(base)
base.before_filter :search_authorized_filter, :only => :show_search
base.before_filter :do_search
end
|
Instance Method Details
#show_search ⇒ Object
10
11
12
|
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/actions/live_search.rb', line 10
def show_search
respond_to_action(:live_search)
end
|