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

Version Path
enju_event-0.0.17 app/controllers/event_import_results_controller.rb
enju_event-0.0.16 app/controllers/event_import_results_controller.rb
enju_event-0.1.4 app/controllers/event_import_results_controller.rb
enju_event-0.1.3 app/controllers/event_import_results_controller.rb
enju_event-0.0.15 app/controllers/event_import_results_controller.rb
enju_event-0.0.14 app/controllers/event_import_results_controller.rb
enju_event-0.0.13 app/controllers/event_import_results_controller.rb
enju_event-0.0.12 app/controllers/event_import_results_controller.rb
enju_event-0.0.11 app/controllers/event_import_results_controller.rb
enju_event-0.1.2 app/controllers/event_import_results_controller.rb
enju_event-0.0.10 app/controllers/event_import_results_controller.rb
enju_event-0.1.1 app/controllers/event_import_results_controller.rb
enju_event-0.1.0 app/controllers/event_import_results_controller.rb
enju_event-0.0.9 app/controllers/event_import_results_controller.rb
enju_event-0.0.8 app/controllers/event_import_results_controller.rb
enju_event-0.0.7 app/controllers/event_import_results_controller.rb
enju_event-0.0.5 app/controllers/event_import_results_controller.rb
enju_event-0.0.4 app/controllers/event_import_results_controller.rb
enju_event-0.0.3 app/controllers/event_import_results_controller.rb