Sha256: 479f865c0c334bf22a6d8f2e4dc4602f2e2c4587b05aa9ba5e0ed7437f7bc665
Contents?: true
Size: 497 Bytes
Versions: 19
Compression:
Stored size: 497 Bytes
Contents
class EventImportResultsController < InheritedResources::Base respond_to :html, :xml, :csv load_and_authorize_resource has_scope :file_id actions :index, :show, :destroy def index @event_import_file = EventImportFile.where(:id => params[:event_import_file_id]).first if @event_import_file @event_import_results = @event_import_file.event_import_results.page(params[:page]) else @event_import_results = @event_import_results.page(params[:page]) end end end
Version data entries
19 entries across 19 versions & 1 rubygems