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

Version Path
enju_event-0.1.17.pre12 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre11 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre10 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre9 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre8 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre7 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre6 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre5 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre4 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre3 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre2 app/controllers/event_import_results_controller.rb
enju_event-0.1.17.pre app/controllers/event_import_results_controller.rb
enju_event-0.1.16 app/controllers/event_import_results_controller.rb
enju_event-0.1.15 app/controllers/event_import_results_controller.rb
enju_event-0.1.13 app/controllers/event_import_results_controller.rb
enju_event-0.0.27 app/controllers/event_import_results_controller.rb
enju_event-0.0.26 app/controllers/event_import_results_controller.rb
enju_event-0.0.25 app/controllers/event_import_results_controller.rb
enju_event-0.1.12 app/controllers/event_import_results_controller.rb
enju_event-0.1.11 app/controllers/event_import_results_controller.rb