Sha256: 9519933d2aa2dd8fbfad816f131042da2843d42ad9b5440965678380e8c2fdbb
Contents?: true
Size: 498 Bytes
Versions: 33
Compression:
Stored size: 498 Bytes
Contents
class EventImportResultsController < InheritedResources::Base respond_to :html, :json, :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
33 entries across 33 versions & 1 rubygems