app/controllers/runs_controller.rb
# re_search and list under background with @background_params
re_search and list under background with @background_params
re_search and list under background with @background_params
def list_again(options = {})
    controller   = options[:controller] || controller_name
    action       = options[:action]     || "search"
    @background_params ||= {}  
    @background_params.merge!(:controller => controller, :action => action) 
    catch :flash_now do find_collection end
    div_id       = options[:div_id]     || "collection"
    template     = options.delete(:collection_template) || @response_template || "shared/collection"
    render :update do |page|
      page.replace div_id , :partial => template, :locals => options
    end 
  end
def list_again ( options = { } ) controller = options [ :controller ] || controller_name action = options [ :action ] || "search" @background_params ||= { } @background_params . merge! ( :controller => controller , :action => action ) catch :flash_now do find_collection end div_id = options [ :div_id ] || "collection" template = options . delete ( :collection_template ) || @response_template || "shared/collection" render :update do | page | page . replace div_id , :partial => template , :locals => options end end
re_search and list under background with @background_params
re_search and list under background with @background_params
options
<not_specific>