Sha256: 466bdd5c47ddec5c964d71c3849b1246c30f87e54ecd6e7204ae0a318a7662ef

Contents?: true

Size: 435 Bytes

Versions: 6

Compression:

Stored size: 435 Bytes

Contents

# frozen_string_literal: true
module Zizia
  class CsvImportDetailsController < ApplicationController
    def index
      @csv_import_details = Zizia::CsvImportDetail.order(:id).page csv_import_detail_params[:page]
    end

    def show
      @csv_import_detail = Zizia::CsvImportDetail.find(csv_import_detail_params["id"])
    end

    private

      def csv_import_detail_params
        params.permit(:id, :page)
      end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
zizia-4.5.4.alpha.01 app/controllers/zizia/csv_import_details_controller.rb
zizia-4.5.3.alpha.01 app/controllers/zizia/csv_import_details_controller.rb
zizia-4.5.2.alpha.01 app/controllers/zizia/csv_import_details_controller.rb
zizia-4.5.1.alpha.01 app/controllers/zizia/csv_import_details_controller.rb
zizia-4.4.1.alpha.01 app/controllers/zizia/csv_import_details_controller.rb
zizia-4.4.0.alpha.01 app/controllers/zizia/csv_import_details_controller.rb