lib/active_scaffold/actions/list.rb
# The actual algorithm to prepare for the list view
The actual algorithm to prepare for the list view
The actual algorithm to prepare for the list view
def do_list
      @remove_id_from_list_links = params[:id].blank?
      @page = current_page
      @records = @page.items
      cache_column_counts
    end
def do_list @remove_id_from_list_links = params [ :id ] . blank? @page = current_page @records = @page . items cache_column_counts end
The actual algorithm to prepare for the list view
The actual algorithm to prepare for the list view
# id: nil needed in params_for because rails reuse it even # if it was deleted from params (like do_refresh_list does)